Hey guys
Just for anyone, who is trying the same:
I recommend using one of the dozens of HTML Editors (HTML and JS/JQuery). Just use the Standard Browser to display a neat HTML Editor with editable configs (I took TinyMCE, I don't need anything fancy).
To get your code out again, just use the clipboard, if you don't have the chance to write a file or similar.
Unfortunately, the wxRichTextCtrl provides you with 90% of what you want and denies you the last 10% of what you need. (Like the save-to-html functionality, which is changing the font size from pt to html size (1-7), so that an imported file can never look like the saved one.)
Thus up to this point, I wouldn't recommend using the HTMLParser classes, if you need it to be exact.
Greets
Natu
Creating HTML-Editor with wxHTMLWindow | wxRichtTextCtrl
Re: Creating HTML-Editor with wxHTMLWindow | wxRichtTextCtrl
Have you found a solution? I've been working on the email editor recently, using the Google browser kernel as the kernel for wxWebView.wxRichtText can't meet the requirements, especially if you want to paste excel tables,and wxWebview can do whatever you want.
Thanks
Best Regards
Ellan
Best Regards
Ellan
Re: Creating HTML-Editor with wxHTMLWindow | wxRichtTextCtrl
Hello
Back then I didn't notice your answer, I'm sorry.
But yes, I did it as you did - using the wxWebView, though Im using the "standard" Trident (IE) backend of the wxWebview, except that I took the code from the future wxWidgets 3.2 from the GSOC2017 content to have my JS beeing able to sending answer strings.
Further discussed in this topic:
viewtopic.php?f=1&t=43774#p178964
Greetings
Natu
Back then I didn't notice your answer, I'm sorry.
But yes, I did it as you did - using the wxWebView, though Im using the "standard" Trident (IE) backend of the wxWebview, except that I took the code from the future wxWidgets 3.2 from the GSOC2017 content to have my JS beeing able to sending answer strings.
Further discussed in this topic:
viewtopic.php?f=1&t=43774#p178964
Greetings
Natu