EnglishDeutschFrançais

1.23 Why am I no longer able to increase or decrease the indentation after updating to edit-on Pro 5.1.198 or newer?

The behaviour of the INCINDENT and DECINDENT actions was modified in edit-on Pro 5.1.198. While these actions previously inserted or removed <blockquote> elements to increase or decrease the indentation of a block, this is no longer the case.

This change was done because from an accessibility standpoint, it may not be desired to use an element such as <blockquote> in a way it is not intended for, even if many HTML editors use this element in a way which does not conform to its actual purpose.

These actions however still function when increasing or decreasing the indentation of a list, as this does not necessit the use of <blockquote> elements.

There are two possibilities to indent content in edit-on Pro from version 5.1.198 on:

1) You can revert to the old indentation behaviour by using the actions INCINDENTBLOCKQUOTE and DECINDENTBLOCKQUOTE instead of INCINDENT and DECINDENT. These actions were added for backwards compatibility and do behave exactly as INCINDENT and DECINDENT did before the change performed in version 5.1.198. To use these actions, you need to modify your uiconfig.xml.

2) You can use style sheets and classes to control indentation. For example, by defining a style such as:

p.indent20 {
    margin-left: 20px;
}

This class can then be selected and applied to the current paragraph via the style drop down box. Alternatively, you can add "margin-left: 20px;" directly as an inline style via a custom JavaScript button.

Copyright © 2000-2008 RealObjects GmbH