A directory of browser-based WYSIWYG editors


Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Discussion:

The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.



Oct 6, 2003, 12:54 AM

Post #1 of 2 (3757 views)
Documentation Can't Post

A patch to the documentation to cater for the new shortcut keys (added in CVS version 1.5).

NB The SHIFT-ENTER does seem to insert a <br /> in but I can't see how it does it in the code...

(Hope this is the right place to send patches)

Index: reference.html
RCS file: /cvsroot/itools-htmlarea/htmlarea/reference.html,v
retrieving revision 1.7
diff -u -r1.7 reference.html
--- reference.html 28 Sep 2003 12:10:52 -0000 1.7
+++ reference.html 6 Oct 2003 05:18:20 -0000
@@ -192,6 +192,9 @@
<li>CTRL-R -- justify right</li>
<li>CTRL-J -- justify full</li>
<li>CTRL-1 .. CTRL-6 -- headings (&lt;h1&gt; .. &lt;h6&gt;)</li>
+ <li>CTRL-Z -- Undo</li>
+ <li>CTRL-Y -- Redo</li>
+ <li>SHIFT-ENTER -- Line break</li>



Oct 6, 2003, 1:12 AM

Post #2 of 2 (3753 views)
Documentation [In reply to] Can't Post

With the CVS version, when you click the ? (Help using editor) button

you get reference.html opened in a new window. In 3 beta clicking ? opened a popup with htmlarea/popups/editor_help.html.

Rather that opening reference.html (which is more to do with installing htmlarea than info to help a user of htmlarea), I propose moving htmlarea/popups/editor_help.html to htmlarea/editor_help.html and replacing its content with the attached (got to start somewhere :-).

A patch for htmlarea.js follows;

Index: htmlarea.js
RCS file: /cvsroot/itools-htmlarea/htmlarea/htmlarea.js,v
retrieving revision 1.34
diff -u -r1.34 htmlarea.js
--- htmlarea.js 5 Oct 2003 13:24:14 -0000 1.34
+++ htmlarea.js 6 Oct 2003 05:58:33 -0000
@@ -1329,7 +1329,7 @@
case "inserttable": this._insertTable(); break;
case "insertimage": this._insertImage(); break;
case "about" : this._popupDialog("about.html", null, this); break;
- case "showhelp" : + "reference.html", "ha_help"); break;
+ case "showhelp" : + "editor_help.html", "ha_help"); break;
default: this._doc.execCommand(cmdID, UI, param);
Attachments: editor_help.html (1.81 KB)


Search for (options)