Hi, I've done this first:
on mouseUp set the liststyle of line 3 of fld "F1" to "disc" put the htmltext of fld "F1" end mouseUp get: <ul type="disc"> <li> <p><font size="28">werwerwerwer</font></p> </li> and then: on mouseUp set the liststyle of line 3 of fld "F1" to empty put the htmltext of fld "F1" end mouseUp get: <p><font size="28">werwerwerwer</font></p> Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/7/30 Dan Friedman <d...@clearvisiontech.com> > Thierry, > > On Mac LC 6.1, I do this: > > set the listStyle of the selectedLine to empty > > and the htmlText is this: > > <p listindent="0">test</p> > > Is that as "clean" as it gets? I would expect it to be <p>test</p>. > > -Dan > > > > > Hi, > > > > set the liststyle of line 3 of fld "F1" to empty > > > > works here on Mac LC 5.5.4 and the htmltext is clean. > > > > HTH, > > > > Thierry > > > >> Hello... > >> > >> How do you remove the listStyle of some text? > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode