-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
When we move our ready HTML markup to October CMS, we need to create all content files manually to allow clients to edit text
It's kind of pain because we need to do many thing
- Cut our text from HTML
- Create content file.
content/hero/title.htm - Paste our text to content file
- Paste content block
{% component 'contenteditor' file="content/hero/title.htm" %}
It would be great if we can just write
{% component 'contenteditor' file="content/hero/title.htm" placeholder="Some initial text" fixture="h3" %}
And if content file doesn't exist, plugin will create that file with predefined text written in placeholder attribute and paste that text to tag written in fixture
In the result
content/hero/title.htm
<h3>Some initial text</h3>
Reactions are currently unavailable