Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-08-20 05:33:01

MySchizoBuddy
Xinha Community Member
Registered: 2005-08-17
Posts: 22

Basic and advanced editors

In S9Y we have two editing area. as shown below
the Entry body has an id and name="serendipity[body]"
the Extended body has an id and name="serendipity[extended]"

Now i want the entry body to be simple toolbar and have simple bold italic stuff and Extended body to have the full fledge one

s9y.jpg

Offline

#2 2005-08-20 11:28:34

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Basic and advanced editors

Step 5 in the config.

xinha_editors.myTextArea.config.toolbar =
  [
    ["popupeditor"],
    ["separator","formatblock","fontname","fontsize","bold","italic","underline","strikethrough"],
    ["separator","forecolor","hilitecolor","textindicator"],
    ["separator","subscript","superscript"],
    ["linebreak","separator","justifyleft","justifycenter","justifyright","justifyfull"],
    ["separator","insertorderedlist","insertunorderedlist","outdent","indent"],
    ["separator","inserthorizontalrule","createlink","insertimage","inserttable"],
    ["separator","undo","redo","selectall"], (HTMLArea.is_gecko ? [] : ["cut","copy","paste","overwrite","saveas"]),
    ["separator","killword","removeformat","toggleborders","lefttoright", "righttoleft","separator","htmlmode","about"]
  ];

James Sleeman

Offline

Board footer

Powered by FluxBB