Dear Friends,

I would like to share with you a very interesting script which makes
Boltwire even easier to use.

You know that clients are hard to learn scripting like the system
markup. They would rather use some WYSIWYG editor which could solve
all that.

In searching for proper JavaScript editor I stop at the simplest
JQuery editor (http://batiste.dosimple.ch/blog/2007-09/), which weight
less then 10k uncompressed (original version was 7k, but I had to
modify it a little).

So, how to use it: uncompress the file JQuery Editor.zip into your $
$pub directory, download jquery-library (jquery.com) into the same
folder and add the following lines into the head of your code.skin:

<link href="$$pub/rte/rte.rss" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="$$pub/jquery-1.3.2.min.js"></
script>
<script type="text/javascript" src="$$pub/rte/jqueryEditor.js"></
script>

The script turns every <textarea> into charming text editor.

It is proper for new sites, as the texts need to be rewritten from
Boltwire syntax into html to be editable with the editor. For the
admins it's not the same. The Boltwire scripts need plain textareas,
so this editor can be easily switched off from the button bar.

I wouldn't say that this is the perfect editor, since sometimes a loss
of text occur. But the larger editors like wymeditor.org (which is
used by many CMS) have grater inconsistency with Boltwire, and the
most important - they don't switch off completely. They show some html
source, but after that fail to pass plain text to the system without
additional formatting, which is essential for the system support.

Finally, I would love to make real ajax onDblClick editor like
http://spacebug.com/IPWEditor_In-Place_WYSIWYG_Editor , or
http://www.arashkarimzadeh.com/index.php/jquery/7-editable-jquery-plugin.html
but there is some security hidden field in the form, which I have no
idea how to get in order to send the text from the generated by the
script text area to the action.edit.

I hope that could be of use to you.

Good luck,

Bogdan

--

You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.


Reply via email to