Days
Hours
Minutes
Seconds
x
Skip to content
Froala Documentation

Initialize Froala Editor on an Image

Init On Image

Using the image.min.js plugin it is possible to initialize the WYSIWYG HTML editor only on an image.

Try it yourself:


Edit in JSFiddle

HTML

<img id="edit" class="fr-fil fr-dib" src="https://raw.githubusercontent.com/froala/wysiwyg-editor/master/editor.jpg" alt="Old Clock" width="300"/>

JAVASCRIPT

<script>
  new FroalaEditor('img#edit');
</script>