Thomas Fritz asked this question · 121 karma ·

Is there a JavaScript API to get the content of the currently editing page in confluence 4.x? Or how could and should it be done via JavaScript?

Is it possible to get the text only, without any markup etc.? I saw that there is a REST API '/rest/tinymce/1/wikixhtmlconverter' . Maybe this can be used? I haven't found any documentation regarding that.

Kind regards