I am building a web site for a non-techy friend using Couch. I only want them to be able to edit the text. Pretty simple.
I place Couch code after my CSS class with my formatting.
<p class="paragraph paragraph-feature"><cms:editable name='relationshipcoachtxt' type='richtext'>text that lost its formatting is here.</cms:editable></p>
Open Couch, edit text, save and refresh my web page and 100% of the formatting in class="paragraph paragraph-feature" is gone.
I do not understand why all of my CSS text formatting is lost. Now I notice when I go into the HTML and remove the P tag and publish the formatting is restored but I've made six text boxes available for my friend to edit and she's not savvy enough to remove p tags each time she publishes and shouldn't have to.
From what I've read so far I can use custom_styles where I can edit JSON files to create custom drop downs re-defining styles I've already defined. This seems like a pain to do and I tried unsuccessfully to implement tonight.
excerptHTML - removes all P tags and everything in-between so that didn't work either.
I don't understand why something as simple as a text editor has to be so complicated in 2020.
Any ideas?
Dustin
I place Couch code after my CSS class with my formatting.
<p class="paragraph paragraph-feature"><cms:editable name='relationshipcoachtxt' type='richtext'>text that lost its formatting is here.</cms:editable></p>
Open Couch, edit text, save and refresh my web page and 100% of the formatting in class="paragraph paragraph-feature" is gone.
I do not understand why all of my CSS text formatting is lost. Now I notice when I go into the HTML and remove the P tag and publish the formatting is restored but I've made six text boxes available for my friend to edit and she's not savvy enough to remove p tags each time she publishes and shouldn't have to.
From what I've read so far I can use custom_styles where I can edit JSON files to create custom drop downs re-defining styles I've already defined. This seems like a pain to do and I tried unsuccessfully to implement tonight.
excerptHTML - removes all P tags and everything in-between so that didn't work either.
I don't understand why something as simple as a text editor has to be so complicated in 2020.
Any ideas?
Dustin