Question: Is there a function to create a text node? something like createTextNode() in js? #220
-
Is there a function to create a text node? something like createTextNode() in js? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
No, but easy enough to add. Can you give me an example of how you would use? |
Beta Was this translation helpful? Give feedback.
-
BTW, if you just want to replace a text node / add a text node in its entirety the "text" property (setf (text obj) "abc") does that. I am looking in to appending or prepending text as that is the only thing comes to mind offhand. |
Beta Was this translation helpful? Give feedback.
-
Ok, I added place-text-inside-bottom-of and place-text-inside-top-of - that is append text node, prepend text node and 'text' will replace all text nodes with a new text node |
Beta Was this translation helpful? Give feedback.
Ok, I added place-text-inside-bottom-of and place-text-inside-top-of - that is append text node, prepend text node and 'text' will replace all text nodes with a new text node