Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Full html page support #90

Open
nmpetkov opened this issue Feb 12, 2013 · 1 comment
Open

Full html page support #90

nmpetkov opened this issue Feb 12, 2013 · 1 comment
Labels
Milestone

Comments

@nmpetkov
Copy link
Contributor

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.

@Guite
Copy link
Member

Guite commented Apr 14, 2013

It seems like in Xinha this is done by enabling the GetHTML plugin.

@Guite Guite added the feature label Aug 22, 2016
@Guite Guite modified the milestones: 6.0.0, Future Aug 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants