WPCubed Product Support

WPAIncIndent

I use the above action to set indents. When you are at the start of a paragraph indented using this action I would like the backspace key to decrement the indent. I could do that presumably by calling WPADecIndent execute, but how do I detect when I am at the start of paragraph that has been indented using WPAIncIndent.

Thanks

#1 ♥ 0
3.2k Views 2 users read 1 min
support

Hi,

instead of calling someaction.execute I would recommend to call WPRichText.CurrAttr.IncIndent (or similar directly)

You can read the current indent also from CurrAttr.IndentLeft.

Julian

#2 ♥ 0
This category is archived. No new posts are possible.