Maik S. wrote:

while reading the command documentation and adapting our XXE configuration i stumbled 
over the "joinOrDeleteChar" command, which appears to be no longer part of XXE.

If it is really so, then the documentation needs an update.

Yes, you are right. This is fixed now.

Command joinOrDeleteChar has been superseded by command deleteSelectionOrJoinBlockOrDeleteChar. See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/deleteSelectionOrJoinBlockOrDeleteChar.html

That is, keystrokes Del and BackSpace are now bound to command deleteSelectionOrJoinBlockOrDeleteChar.

However for the "JoinBlock" alternative of this command to work properly, you must specify in your configuration what is a "splittable block". See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/splittable_blocks_spec.html

In a nutshell, this is specified using a property called "CONFIGURATION_NAME blockList". XHTML example:

---
  <property name="$c blockList">
    {http://www.w3.org/1999/xhtml}p=paragraph
    {http://www.w3.org/1999/xhtml}h1
    {http://www.w3.org/1999/xhtml}h2
    {http://www.w3.org/1999/xhtml}h3
    {http://www.w3.org/1999/xhtml}h4
    {http://www.w3.org/1999/xhtml}h5
    {http://www.w3.org/1999/xhtml}h6
    {http://www.w3.org/1999/xhtml}li
    {http://www.w3.org/1999/xhtml}dt
    {http://www.w3.org/1999/xhtml}dd
  </property>
---

where variable "$c" is substituted with the name of the configuration including the definition of the property: "XHTML Strict", "XHTML Transitional", "XHTML 5.0", "XHTML 1.1".


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to