Closed Bug 665122 Opened 15 years ago Closed 15 years ago

Kuma: Customizable default editor toolbar

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Unassigned)

References

Details

(Keywords: qawanted, Whiteboard: u=user c=wiki p=2)

The default Kuma toolbar for the editor should be configurable from within the administration area of the site.
Blocks: 665691
Whiteboard: [u: user] [c: wiki]
Target Milestone: --- → 1.0 alpha
Version: MDN → unspecified
Whiteboard: [u: user] [c: wiki] → [u: user] [c: wiki] [points: 2]
Target Milestone: 1.0 alpha → ---
Target Milestone: --- → 0.9.8
Version: unspecified → Kuma
Whiteboard: [u: user] [c: wiki] [points: 2] → u=user c=wiki p=2
Plan: Add wiki.models.toolbar with id, creator, and config_file fields to the admin site. Change ckeditor_config.js to load a specific file for the default.
Target Milestone: 0.9.8 → 0.9.9
Blocks: 665124
Assignee: nobody → lcrouch
Depends on: 672526
Sheppy, I committed an admin section for this. Are you comfortable editing the js config for the toolbar? It's like this: http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar
The admin section is https://kuma-stage.mozilla.org/admin/wiki/editortoolbar/ though you won't be able to add the default config file until IT fixes bug 672526
Yes, I'm fine with editing the JS. I've done it before with CKEditor on other sites.
Okay I changed the model to include the js code in the database so we don't need bug 672526 anymore. 1. Go to https://kuma-stage.mozilla.org/admin/wiki/editortoolbar/ 2. Click the default record 3. Change some elements in CKEDITOR.config.toolbar_MDN 4. Open the edit page (e.g., https://kuma-stage.mozilla.org/en-US/docs/separate-ckeditor-calls/edit) and verify the changes are reflected in the editor toolbar Sheppy, is that a good workflow for you?
Assignee: lcrouch → mozbugs.retornam
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: qawanted
Resolution: --- → FIXED
Version: Kuma → unspecified
Component: Website → Landing pages
Assignee: mozbugs.retornam → nobody
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.