Re: [SailfishDevel] Communicate with WebView

2018-03-26 Thread Michael Fuchs
Thanks a lot. Will try it later. By "native API" you mean the Syntaxhighlighting, right? This is a nice to have for my app, but first I'd like to display a rendered markdown page. cheers, Michael. @alexey, sorry for multiple mails. ;) Am 26.03.2018 um 11:56 schrieb Alexey Andreyev: Hi! At

Re: [SailfishDevel] Communicate with WebView

2018-03-26 Thread Alexey Andreyev
Hi! Attaching file with example. But, anyway, if you are trying to create markdown editor it is much easier and appropriate to use native api (not webkit/webengine): https://github.com/pbek/qmarkdowntextedit/blob/develop/markdownhighlighter.h 2018-03-26 12:31 GMT+03:00 Michael Fuchs : > Hi sail

[SailfishDevel] Communicate with WebView

2018-03-26 Thread Michael Fuchs
Hi sailors, is there a way to communicate with a WebView? I would like to make something like this: https://doc.qt.io/qt-5.6/qtwebengine-webenginewidgets-markdowneditor-example.html ...but WebChannels don't seem to be available. Also WebView.runJavaScript() isn't there. Thanks a lot, Michael