Opened 13 years ago

Closed 13 years ago

#382 closed defect (fixed)

A small change to the newbie guide

Reported by: ian@… Owned by: akaEdge
Priority: normal Milestone:
Component: Documentation Version:
Severity: normal Keywords:
Cc:

Description

Hi,
First, congratulations on a great tool.
I'd like to suggest a small addition to the Newbie guide.
This question has been asked several times in the forums, and either wasn't fully addressed, or people referred to the Newbie Guide, which wasn't helpful.
The issue is one of customising the toolbar to display a very limited set of options.

In Step 3 of the guide, it currently says:

  • If you want to modify the default config you might do something like this. *
  • xinha_config = new HTMLArea.Config();
  • xinha_config.width = '640px';
  • xinha_config.height = '420px';

Either there, or possibly at the bottom of the page, as an introductoy example,
I would like to see :
"If you want to start with a very simple example, you could remove all the plugins from Step 2. You could then, in step 3 use

  • xinha_config = new HTMLArea.Config();
  • xinha_config.width = '640px';
  • xinha_config.height = '420px';
  • xinha_config.toolbar =

[

["separator","popupeditor","separator","fontname","fontsize","bold","italic","underline","strikethrough"],

["separator","insertorderedlist","insertunorderedlist","outdent","indent","separator","justifyleft",

"justifycenter","justifyright","separator","undo","redo","inserthorizontalrule"],

];

I do apologise for the poor formatting, difficult to do it nicely in this web editor :)

This example would not only answer several newbie and faq questions, it would also serve as a good jumping-off point for people learning xinha. I know the full-blown editor s great, but it's overwhelming initially. With the plugins, and built-in functions, I found it quite confusing to begin with. A siple example woudl have saved me hours :)

Thanks again, and keep up the great work !

Change History (1)

comment:1 Changed 13 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed

Newbie buyide step 2 has been modified to show how to load no plugins. This should suffice.

Note: See TracTickets for help on using tickets.