BXE Hackathon

Christian Stocker <[email protected]> Sun, 14 Nov 2004 16:13:39 -0800
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>
Hi

I did my own BXE Hackathon here at the ApacheCon Hackathon and fixed a 
lot of bugs and added some new features. All bugs were applied to the 
1_0 branch and the trunk, some new features only went into trunk...

New features for both trees:

- Added an "Insert <element>" option to the context menu of "root" 
nodes. Assuming you have an bxe_xpath on /html/body and empty that whole 
editable area (so there were no nodes anymore), there was no way of 
inserting a new node, except for going into source mode. Now, you have 
the possibility to click on that element in the bottom xpath bar and you 
can insert an element (if there are already elements, it's appended to 
the last one).

- Move up/down of elements: As you can't insert an element on top (we 
only have the possibility to append new elements..), I added a "Move 
up/down" option in the context menu. This way, you can insert an elment 
on second position and later move it up to the first position.

New features only in trunk:

- Source mode uses now a <textarea> field. This should make it much more 
convenient to edit the sources, as it's much faster and more like how 
you're used to edit text.

- Insert of Paragraphs on copy&paste. A long requested feature. If you 
copy&paste paragraphs from a text-editor or word, they are now preserved 
(somehow). You have to adjust the config.xml to use that feature:

<options>
  <option name="autoParaElementName">p</option>
  <option 
name="autoParaElementNamespace">http://www.w3.org/1999/xhtml</option>
</options>

would add a xhtml:p around every paragraph inserted from outside. What's 
a paragraph is decided by line-endings. This feature isn't really tested 
yet, but should basically work.

****
A full list of all bugfixes will be announced when 0.9.7 will be 
released (pretty soon hopefully).

I also added the bxe_1_0 branch to the snapshots builds:

http://bitflux.org/download/bxe_1_0-snapshot.tgz

have fun and report any problems or whishes

chregu


-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB
-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev