Ticket #8884 (assigned defect)

Opened 2 years ago

Last modified 2 years ago

Tweak toolbars to include only supported commands & elements

Reported by: itamarost Assigned to: itamarost (accepted)
Priority: high Component: CkEditorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

The current implementation uses the default CKEditor toolbar, that contains many rich features that sometimes are relevant only to pure HTML content, and on the other hand excludes features that are wiki-specific.

See as reference the BBCode plugin for CKEditor: file:///C:/Users/EdanM/projects/eclipse/ckenv/htdocs/js/ckeditor/_samples/bbcode.html

Attachments

config.js (1.1 kB) - added by framay on 09/14/11 12:41:07.
sample CKEditor configuration file with less buttons
CKEditor.png (13.9 kB) - added by framay on 09/14/11 12:41:57.
presentation of CKEditor with sample configuration

Change History

06/11/11 12:51:30 changed by itamarost

  • status changed from new to assigned.

Used local link by mistake, and can't edit description... Correct link for BBCode reference: http://nightly.ckeditor.com/7035/_samples/bbcode.html

09/14/11 12:41:07 changed by framay

  • attachment config.js added.

sample CKEditor configuration file with less buttons

09/14/11 12:41:57 changed by framay

  • attachment CKEditor.png added.

presentation of CKEditor with sample configuration

09/14/11 12:44:38 changed by framay

the important thing in the configuration file is this line:

config.toolbar = 'Custom';

Much nicer would be if it could be parametrized in trac.ini. In a future version you could have different toolbars and show them depending on the rights the authenticated user has.

11/16/11 08:50:11 changed by framay

Isn't this be done by configuring CKEditor's config.js file? For sample configuration see config.js.sample.


Add/Change #8884 (Tweak toolbars to include only supported commands & elements)




Change Properties
Action