Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tinymce integration - no more in image popup - Bug #384

Closed
YannikFirre opened this issue Sep 22, 2017 · 5 comments
Closed

Tinymce integration - no more in image popup - Bug #384

YannikFirre opened this issue Sep 22, 2017 · 5 comments

Comments

@YannikFirre
Copy link

The icon to pickup a file doesn't show on tinymce.
bug_rf

Init tinymce:

var defaultOptions = {
     browser_spellcheck: true,
     element_format: 'html',
     entity_encoding: 'raw',
     theme: "modern",
     setup: function (ed) {
         ed.on('keyup', function (e) {
             $(ed.getElement()).trigger('keydown');
         });
         ed.on('Change', function (e) {
             $(ed.getElement()).trigger('keydown');
         });
     },
     inline: inline,
     language: 'fr_FR',
     language_url:  '/components/tinymce/langs/fr_FR.js',
     menubar: false,
     relative_urls: false,
     remove_script_host: false,
     convert_urls: true,
     paste_as_text: true,
     forced_root_block: false,
     image_dimensions: false,
     style_formats: tinyMCEFormats,
     textcolor_map: tinyMCEColors,
     image_class_list: [
         {title: 'Responsive', value: 'img-responsive'}
     ],
     link_class_list: [
         {title: 'Normal', value: ''},
         {title: 'Lightbox', value: 'lightbox_link'}
     ],
     plugins: [
         "advlist lists charmap preview hr pagebreak",
         "searchreplace wordcount visualblocks visualchars code insertdatetime nonbreaking",
         "contextmenu directionality paste link textcolor image autoresize responsivefilemanager"
     ],
     toolbar: "undo redo | bold italic underline | bullist numlist | alignleft aligncenter alignright alignjustify | responsivefilemanager image link | fontsizeselect forecolor | preview code",
     external_filemanager_path:  "/components/ResponsiveFilemanager/filemanager/",
     filemanager_title: "Filemanager",
     external_plugins: {
         "filemanager":  "/components/ResponsiveFilemanager/filemanager/plugin.min.js",
         "responsivefilemanager": "/components/ResponsiveFilemanager/tinymce/plugins/responsivefilemanager/plugin.min.js"
     }
 };

Tinymce version : 4.6.7
ResponsiveFilemanager version : 9.11.3

Thanks a lot :)

@trippo
Copy link
Owner

trippo commented Sep 23, 2017

How do you include tinymce? with cdn? if yes change with a download version

@YannikFirre
Copy link
Author

YannikFirre commented Sep 23, 2017

Hello @trippo ,

I use downloaded version not cdn :-/

@YannikFirre
Copy link
Author

Hello @trippo ,

Any idea why ? :)

@YannikFirre
Copy link
Author

@trippo after some tests, i see that the bug appears when i have two tinymce on the same page

@YannikFirre
Copy link
Author

Solved with #357 (comment) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants