Hi folks, hi @Greg_O_Lone
browsing the developper tools inside the browser, I note that xojo web is using the html editor summernote as the css is included in the of a xojo webpage. “/framework/summernote.css”
but where is it used ? there is no such html editor I can see anywhere ?
it would be so nice tohave it inside a webtextarea …
I think it was mentioned somewhere, at some point, that Summernote was something they wanted to provide out of the box in the future, but it’s not implemented at this time.
problem is I would like to implement my html editor using summernote, and it refuses to initialize itself I presume because of some conflict with multiple frameworks ?
$(…).summernote(); is not a function error
found my “mistake”
you have to add “defer” at the end of the script include for summernote…
and summernote works in a websdkcontrol !
return "<script src=""https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.js"" defer></script>"
in SessionHead event.
4 Likes

now I need a way to convert rtf to html and back…
knowing web2 don’t have styledtext, or stylerun … 
1 Like