You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
For some cases it is needed to edit HTML content, which is not something inside body tag, but full html, with html tag or even document type tag. One example is to edit content for sending with HTML type e-mails. In particular we need now for Newsletter module.
CKEditor and TinyMCE both offers such a possibility (I have not checked what about other editors supported by Scribite).
I propose to be added support for some key class name in the textarea tag, in same way as "noeditor" is currently implemented - a nice possibility to say to Scribite not to place an editor for given textarea.
So, the name for the class can be for example "fullpageeditor". This is saying to Scribite to place the editor in "full page edit" mode, or if such mode is not existing for intended editor - not to place an editor at all. (It also can be implemented with toolbar override, but I think it is better to be placed in template - this is "by design" need, not "by user wishes". Also possible with both methods.)
After so many explanations - actually for the case of CKEditor it is very easy, just to be placed a line in javascript textarea replacement parameters:
fullPage: true
I can attempt to make PR for this, but prefer to be made for somebody more familiar with current javascript implementation in Scribite 5.
The text was updated successfully, but these errors were encountered:
For some cases it is needed to edit HTML content, which is not something inside body tag, but full html, with html tag or even document type tag. One example is to edit content for sending with HTML type e-mails. In particular we need now for Newsletter module.
CKEditor and TinyMCE both offers such a possibility (I have not checked what about other editors supported by Scribite).
I propose to be added support for some key class name in the textarea tag, in same way as "noeditor" is currently implemented - a nice possibility to say to Scribite not to place an editor for given textarea.
So, the name for the class can be for example "fullpageeditor". This is saying to Scribite to place the editor in "full page edit" mode, or if such mode is not existing for intended editor - not to place an editor at all. (It also can be implemented with toolbar override, but I think it is better to be placed in template - this is "by design" need, not "by user wishes". Also possible with both methods.)
After so many explanations - actually for the case of CKEditor it is very easy, just to be placed a line in javascript textarea replacement parameters:
I can attempt to make PR for this, but prefer to be made for somebody more familiar with current javascript implementation in Scribite 5.
The text was updated successfully, but these errors were encountered: