app/models/theme_asset.rb in locomotive_cms-0.0.1.4 vs app/models/theme_asset.rb in locomotive_cms-0.0.2

- old
+ new

@@ -51,9 +51,11 @@ self.performing_plain_text = true if self.performing_plain_text.nil? @plain_text = source end def performing_plain_text? + return true if !self.new_record? && !self.image? && self.errors.empty? + !(self.performing_plain_text.blank? || self.performing_plain_text == 'false' || self.performing_plain_text == false) end def store_plain_text return if self.plain_text.blank? \ No newline at end of file