Is there a way to completely disable the TinyMCE editor from Keystone js backend, leaving just a plain text field instead of the wysiwyg editor?
Setting WYSIWYG to false disabled the editor for me:
data: { type: Types.Html, wysiwyg: false }
Add the option to your model in Keystone.
Related
How can I change activeEditor programetically in tinyMCE.
Ex:
Like if I have two editors in same page, How can I switch between them programetically?
The activeEditor will switch when you focus a different editor so the method is to call focus on the editor you want to be active. You can choose to not actually focus the editor by passing false.
https://www.tiny.cloud/docs/api/tinymce/tinymce.editor/#focus
Extract from that page:
focus
focus(skipFocus:Boolean)
Focuses/activates the editor. This will set this editor as the
activeEditor in the tinymce collection it will also place DOM focus
inside the editor.
Parameters
skipFocus (Boolean) - Skip DOM focus. Just set is as the active editor.
We can get any instance of TinyMCE by tinyMCE.get('field-name') or by tinyMCE['field-name'] here field name will be the field TinyMCE is associated with.
I am using phpfox cms and it have default tiny_mce editor but i want to user WYSIWYG editor, please tell me how can i apply WYSIWYG editor in my code?
I would need to change the default editor use in CS-Cart, or at least try to add some more user-friendly buttonas (such as images uploads, and so on...)
Is there a way to change or modify the standard WYSIWYG editor in CS-Cart?
CS-cart has by default 3 wysiwyg editors, TinyMCE, CKEditor and Redactor and can be selected from backend, Settings > Appearance
I'm not sure if TinyMCE is being used or not, but is it possible to add additional options to the text editor?
it is CKEditor and yes you can change the default configuration. Just go to admin panel and go to settings, there is an editor tab witch lets you edit the configuration.
How do I remove the disabled features in Tinymce editor. I dont want them to appear.
I removed one of my tiny mce configurations