storing default_attribute on the editable_element if a default attribute has been parsed.
This commit is contained in:
parent
95cd56cba2
commit
ea81025d33
@ -6,6 +6,7 @@ class EditableElement
|
||||
field :slug
|
||||
field :block
|
||||
field :default_content
|
||||
field :default_attribute
|
||||
field :hint
|
||||
field :disabled, :type => Boolean, :default => false
|
||||
field :assignable, :type => Boolean, :default => true
|
||||
|
@ -26,6 +26,7 @@ module Locomotive
|
||||
:block => @context[:current_block].try(:name),
|
||||
:slug => @slug,
|
||||
:hint => @options[:hint],
|
||||
:default_attribute => @options[:default],
|
||||
:default_content => default_content,
|
||||
:assignable => @options[:assignable],
|
||||
:disabled => false,
|
||||
|
Loading…
Reference in New Issue
Block a user