Days
Hours
Minutes
Seconds
x

New Froala Editor v5.0.0 is here โ€“ Learn More

Skip to content
Froala Documentation

Images

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>