Closed alansemenov closed 6 years ago
Hmm.. could we try using a property to switch instead? Then we can test all of our existing content types and data?
Good idea, let's do this via config property of HtmlArea input type:
<config>
<new>true</new>
</config>
Ok, will update
Still not a good solution, then we need to modify apps. I was thinking of a config file i.e. com.enonic.xp.contentstudio.cfg htmlarea=ckeditor
Not sure if that’s a good idea - will make it impossible to test both editors side by side with the same content
Do we need that? Much more important to be able to test it at scale... We could even let partners test it with this property, and say it is beta mode.
Issue moved to enonic/xp-apps #743 via ZenHub
We need to have a transition phase during which we will support both TinyMCE and CKEditor. This will allow users to a) test the new editor and b) try switching their content types from one to another and see how that works out.
To do that we will implement a new setting in the config file of Content Studio (
com.enonic.xp.contentstudio.cfg
):htmlarea=ckeditor
When this setting is present in the file with this value, we will use CKEditor instead of TinyMCE in the HtmlArea.
We can pass value of the config setting from the controller via
CONFIG
object, like we do withtourDisabled
setting inapp-admin-home
.