Samuell1 / contenteditor-plugin

Edit your content in page - plugin for OctoberCMS
http://octobercms.com/plugin/samuell-contenteditor
MIT License
39 stars 19 forks source link

Anchor - after change create element outside content block #79

Closed zemiak5 closed 5 years ago

zemiak5 commented 5 years ago

Hi,

I have this code on my page {% component 'contenteditor' file="aboutus/panel-contactus-cz.htm" class="btn-contact" fixture="a" tools="bold,italic,link" %}

content ,,aboutus/panel-contactus-cz.htm,, has code Contact us

When I edit link for text ,,Contact us,, it wrap this link outstide a class="btn-contact"

How to achieve I can change link but class for anchor will stay same ?

Samuell1 commented 5 years ago

I think thats the limitation of content tools plugin it needs to wrap something where you can edit it.