Artron
Artron

Reputation: 266

plugin advimage for tinymce 4.x

i need vspace, hspace or align for image, than will be found on advimage for tinymce 3.x. i was try put advimage plugin on tinymce 4.x but error.

i was try this step

  1. I copy advimage folder plugin from tinymcd 3.x into 4.x
  2. i was add "img[!src|border:0|alt|title|width|height|style]a[name|href|target|title|onclick]" to extended_valid_elements option.

i get from this tutorial :

advimage-advanced-image-plugin

that step is still not working....

Upvotes: 2

Views: 4089

Answers (2)

Scott
Scott

Reputation: 2922

The "advimage" plugin is not available for TinyMCE 4, but you can add an "Advanced" tab on the image dialog box using the image_advtab option. For example:

tinymce.init({
  plugins: ["image", ... others ... ],
  image_advtab: true,
  ...
});

Upvotes: 6

Agile Jedi
Agile Jedi

Reputation: 2942

ADVIMAGE is not yet supported in version 4.

Look here for the plugins that were dropped:

http://www.tinymce.com/wiki.php/Tutorial:Migration_guide_from_3.x

Upvotes: 1

Related Questions