We've implemented a HTML Editor and would like to be able to incorporate a Watermark image behind. There is no tool at present to allow placing of a Watermark. How would this be best implemented?
3 Answers, 1 is accepted
answered on 21 Aug 2017, 11:50 AM
On the following Dojo example you can find a very basic implementation of the Editor, where a custom tool is added. When clicked, it sets a background image on the Editor body (centered). This background will also be exported when using the PDF export feature of the widget.
I would like to allow the user to select an image to be used as a watermark (like the insert image tool. How straightforward would it be to implement this?
answered on 01 Sep 2017, 05:47 AM
To achieve the desired scenario, I would suggest to try and create a custom tool that creates a dialog, where the user can insert the image URL, which is later used as a background for the editor. You can review and try to combine the example from this How-to article and the previously sent Dojo example.