You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How I can find all text nodes which are not an element nodes?
For example:
I have this text.
<strong>Hallo!</strong> What <strong>are</strong> <strong>you doing</strong>?
And I want find only words "What" and "?". Is it possible?
Original issue reported on code.google.com by [email protected] on 1 Aug 2013 at 2:09
The text was updated successfully, but these errors were encountered:
Edit: For inserting a text node you can re-use the code in the addText method, replacing $this with the parent element and addChild with insertChild (the other methods expect the offset passed by reference).
Original issue reported on code.google.com by
[email protected]
on 1 Aug 2013 at 2:09The text was updated successfully, but these errors were encountered: