Skip to main content
March 1, 2011
Answered

Handling Lists in an editable TextArea

  • March 1, 2011
  • 2 replies
  • 666 views

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.
Correct answer rdermer

The MoveChildrenOperation was designed for this use case.

Richard

2 replies

rdermerCorrect answer
Inspiring
March 1, 2011

The MoveChildrenOperation was designed for this use case.

Richard

March 1, 2011

EditManager.moveChildren works like a dream.  Thanks Richard!