Strip down editor UI
nav_first.pngFirst: package:1
Wikidot per-site help
Edited: 08 Nov 2009 12:06 by: pieterh
Comments: 0
Tags:
nav_prev.pngPrevious: package:29
Kenneth’s Avatar Grabber
Edited: 05 May 2010 10:32 by: James Kanjo
Comments: 2
Tags:
Last: package:49
Advanced Search
Edited: 01 May 2012 12:30 by: tsangk
Comments: 68
Tags:
nav_last.png
Next: package:31
system:page-tags Replacer
Edited: 21 Oct 2010 13:29 by: James Kanjo
Comments: 0
Tags:
nav_next.png

Strip down editor UI
Package submitted by leiger
05 May 2010 05:53

rating: +1+x

This package strips down the editor UI so that only the top row of buttons are shown. The top row includes some of the more useful buttons for new users (Bold, Italic, Underline) whilst hiding the more complicated ones that can be found in the second and third rows.

Instructions

To install this package in your site, create/edit these pages with the following content:

This page Contains this line
Any page, but I recommend putting this into a live template [[include :csi:include:StripEditorUI]]

Just paste the code given above into your page — it's that simple! Any comments on that page will then begin to use the Stripped-down Editor UI (designed by the Wikidot community).

If you don't see the changes immediately, try clearing your cache and refreshing the page at least twice using Shift+F5.

In action

You will notice that the new-comment box on this page only displays the first row of editor buttons. All other CSI packages on this site have three rows of editor buttons when posting a comment.

The code

The contents of the StripEditorUI page:

[[module CSS]]
/*  Strip down editor UI, revised by PH, revised again by leiger for CSI.wikidot.com */
/* Taken directly from blog.wikidot.com CSS on 5th May 2010 */

#wd-editor-toolbar-panel div + div { display: none; }
#np-editor-panel div + div { display: none;}
#edit-diff-button { display: none; }
.edit-help-34 { display: none; }
[[/module]]

Include files

StripEditorUI By leiger 05 May 2010 05:54

Comments: 7

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License