Skip to main content
Mar 1, 2011 6:19 PM UTC
Answered

Handling Lists in an editable TextArea

I'm in the process of creating an internal app that has a WYSIWYG component (build on TLF2.0).  The SimpleEditor and TextLayoutEditor sample apps have been a great help in this area.  The feature I'm really struggling with is Lists.  They're an absolute requirement (and the main reason we're using tlf 2.0).  I found the EditManager.createList method which has made creating lists incredibly simple and gives exactly the UX I wanted for creating a list.  However, removing the list (without removing its content) is turning out to be a huge pain.  Is there an easy way that I'm missing?  What would you suggest?

This topic is closed to new replies. Start a new post to keep the conversation going.
rdermerCorrect answer
Inspiring
Mar 1, 2011 6:42 PM UTC

The MoveChildrenOperation was designed for this use case.

Richard

2 replies

rdermerCorrect answer
Inspiring
Mar 1, 2011 6:42 PM UTC

The MoveChildrenOperation was designed for this use case.

Richard

Translate
Mar 1, 2011 8:24 PM UTC

EditManager.moveChildren works like a dream.  Thanks Richard!

Translate