Helo everyone,
Is it possible to remove the spans of a selection? We're trying to shield spans (styles) from overwriting each other. What happens now when you're applying a span inside a span =
What we would desire =
I've seen the editor close spans and opening them again when appying a span over multiple paragraphs. Also when using the eraser tool the editor moves the span to the start of the selection.
Therefore i think it should be possible but need a bit of help guiding me to the right direction...
Thanks in advance...
Is it possible to remove the spans of a selection? We're trying to shield spans (styles) from overwriting each other. What happens now when you're applying a span inside a span =
<span style="1">text part 1<span style="2">text part2</span>text part 3</span>
What we would desire =
<span style="1">text part 1</span><span style="2">text part2</span><span style="1">text part 3</span>
I've seen the editor close spans and opening them again when appying a span over multiple paragraphs. Also when using the eraser tool the editor moves the span to the start of the selection.
Therefore i think it should be possible but need a bit of help guiding me to the right direction...
Thanks in advance...
Re: a span inside a span - prevent the spans from stacking
Thanks in advance....