Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How does the tinymce selector work in css?


Asked by Izaiah Guevara on Dec 13, 2021 CSS



Selector configuration uses CSS selector syntax to determine which elements on the page are editable through TinyMCE. TinyMCE visually replaces the selected element with an iframe (the editable content area) and the UI elements (such as toolbar, menu bar, and status bar).
Furthermore,
Because you want your css to be applied to tinymces editor content you will need to add your class to the class your editor content gets styled with.
Indeed, When using this option in TinyMCE’s inline editing mode, the selector can be used on any block element and will edit the content in place instead of replacing the element with an iframe.
One may also ask,
TinyMCE is a rich text editor in the cloud. To put it simply, it’s like Word that can be implemented into your app. The project I am working on uses it to let admins edit the content of the front page. Thanks to TinyMCE, it isn’t necessary to build a separate admin interface for that purpose.
Keeping this in consideration,
The hidden_input option gives you the ability to disable the auto-generation of hidden input fields for inline editing elements. By default all inline editors have a hidden input element in which content gets saved when an editor.save () or tinymce.triggerSave () is executed.