Home Forums General XMetaL Discussion Deleting an element Reply To: Deleting an element

mag3737

Reply to: Deleting an element

I think we might need a little more context here. For example:

– What is the parent of the autovalue element?
– Is there any other markup structure involved here?
– Where might the user's cursor/highlight be located when this operation is performed?

I tried out your code to remove the tags from elements within paragraphs (changing “autovalue” to “b”), and the code worked fine if the cursor was placed anywhere before the first and then executed repeatedly. Each execution deleted the next set of tags it found. The

was never removed.

Reply

Products
Downloads
Support