All posts

TinyMCE remove height & width from image

It is so annoying the TinyMCE editor image plugin saving the height and width of the image. You can turn it off in the settings.

tinymce.init({
  selector: "textarea",  // change this value according to your HTML
  plugins: "image",
  menubar: "insert",
  toolbar: "image",
  <strong>image_dimensions</strong>: false
});

There are other settings available for the image plugin please visit here for details.

Category
Tags

Discussion

No comments yet