HTMLtext and selectedChunk
jbv at souslelogo.com
jbv at souslelogo.com
Thu Nov 7 10:14:46 EST 2024
Hi list,
I have a field with a HTMLtext as follows :
<p>abc <i>def</i> xyz</p>
the content of the field displays like that :
abc def xyz
with "def" in italic.
Now I select "def" ; the selectedChunk returns
char 5 to 7 of field x
Question : how can I know for certain that the
selection is in italic ?
I tried : char 5 to 7 of the HTMLtext of field x
but it returns : "bc "
Thank you in advance.
jbv
More information about the use-livecode
mailing list