Do you have some feature in mind that you'd love to see in Couch? Let us know.
6 posts Page 1 of 1
The plugin can be found in this directory:

So It is included in the install, but not turned on. Is their a simple way to turn this one?

Even better would be to include a bootstrap editor plugin like this one:
Never mind,

Code: Select all

Code: Select all

I still think you should enable bootstrap templates in the CKEditors, and give the programmer the ability to turn on/off CKEditor templates for editable regions.

Sure, a programmer could make 50 different page templates for the client to choose from, or they could create one, and then let the client edit the layout of the pages using CKEditor itself.
Is it possible to add the Ckeditor templates plugin in 2020. I've added 'templates' to the extraPlugins list in addons\inline\theme\scripts.php as follows but no new button has appeared on the editor menu.
Code: Select all
editor.config.extraPlugins = 'inlinesave,templates';

Also tried adding
Code: Select all
to addons\inline\inline.php and field.php and tried logging out and in but so far no luck.

@NickW, please google the following and you should get several posts pertaining to this issue; perhaps you'll find something useful in them - 'config.extraPlugins'

This article seems to be most relevant for adding plugins, but no mention of the templates, even though the templates plugin ships with the CouchCMS version of CKEditor. It would be such a useful feature for creating layouts within editable areas.

The 'templates' plugin exists in the includes\ckeditor\plugins folder and in includes\ckeditor\config.js I've added:
Code: Select all

Inside the <cms:editable tag I've added:
Code: Select all
toolbar='custom'[ custom_toolbar='bold, italic, underline, strike, -, subscript, superscript | templates, format ....and others buttons .....'

Then in field.php and addons/inline/inline.php I added the following to the $available_buttons array:
Code: Select all

I've reloaded the web page and then reloaded the admin page and now the templates button shows, brilliant!
6 posts Page 1 of 1

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 3 guests