user2038833
user2038833

Reputation: 87

How to remove the images from aloha editor?

I would like to remove the image handlers in the aloha-editor but i can't figure out how. I tried using settings.contenthandler.allows but it didn't work.

Upvotes: 0

Views: 41

Answers (1)

Suenoism
Suenoism

Reputation: 38

Remove the default image plugin from the plugins list. But to remove handling for images, removed the selection range from the document. document.selection.empty();

Upvotes: 1

Related Questions