Skip to main content
March 1, 2011
Answered

Handling Lists in an editable TextArea

  • March 1, 2011
  • 1 reply
  • 654 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 has been closed for replies.
Correct answer rdermer

The MoveChildrenOperation was designed for this use case.

Richard

1 reply

rdermerCorrect answer
Adobe Employee
March 1, 2011

The MoveChildrenOperation was designed for this use case.

Richard

March 1, 2011

EditManager.moveChildren works like a dream.  Thanks Richard!