Topic Closed

I would like to create a plugin to introduce a new contenteditable section that can be edited without the intervention of CKEditor, so without altering the source code. But I do not know what hooks to use. I have something on:

but the documentation seems incomplete. Where could I find out more?

If I find a starting point, I will develop the plugin on GitHub and probably many people would be interested.

What do you think ?

4 years ago#11489

452 Posts
5 Themes
9 Plugins

Extra sections are defined with   <?php gpOutput::Get('Extra','Another Area'); ?>   in the template put anywhere) and then edited in the CMS under  content -> Extra content  : Another Area

For the definition and application of hooks You can klick at the hook or (with a tool like Super Finder XT) go through the source of the Typesetter - master (5.1b1 and 4.61)  and of  some plugins who use the hooks.

Perhaps can help You further ?  

You can also try native javascript like (and



Edited: 4 years ago#11491

Thanks a lot for the response and for the information provided. I use the SynWrite editor and am pleased with it. I saw that Juek's plugin, CustomSection, is very useful.
I tried to create a plugin, which I uploaded to GitHub. I hope it is useful to someone and can be further developed.
Here is the link.

Also interesting are the links from mozilla and stackoverflow, I will study them carefully the next few days.

Thank you again!

4 years ago#11492

452 Posts
5 Themes
9 Plugins

Hm - Your addon is quite useful, but i  like ckeditor , which has an inbuild security token, and the modified codesnippet plugin, which You can find in typesetter under plugins -> available -> Syntax Highlighter. A much simpler editor is cleditor.

It just adds a <pre> at the moment and needs a modification. (div instead pre)

There ist also Code EditorCode snippet Geshi and  Paste Code.  You can evtl.  overtake some functions into Your plugin.

* What we do not Yet have, is a direct Cms- editor for the template and connected js-css- files , which can be implemented by Elfinder and its mods for subdirectories together with codemirror, which is already used in the layoutmanager (also as a replacement for gpfinder possible)

Edited: 4 years ago#11493

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

Log In