-
Notifications
You must be signed in to change notification settings - Fork 368
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
ResponsiveFilemanager does not work with TinyMCE multi textarea #337
Comments
Do you mean tinymce or only filemanager?
… Il giorno 27 feb 2017, alle ore 04:30, nopzixcross ***@***.***> ha scritto:
I use Responsive File manager for textarea #content and #content2
then the plugin is appear only #content
my code :
tinymce.init({ selector: "#content2,#content", theme: "modern", plugins: [ 'advlist autolink lists link image charmap print preview hr anchor pagebreak', 'searchreplace wordcount visualblocks visualchars code fullscreen', 'insertdatetime media nonbreaking save table contextmenu directionality', 'emoticons template paste textcolor colorpicker textpattern imagetools responsivefilemanager' ], toolbar1: 'insertfile undo redo | styleselect | bold italic underline | forecolor backcolor | alignleft aligncenter alignright alignjustify', toolbar2: 'table cut copy paste searchreplace | preview media image link unlink | bullist numlist outdent indent', image_advtab: true, relative_urls: false, remove_script_host: false, convert_urls: true, language: 'th_TH', content_css : "<?php echo base_url('assets/css/tinymce.css'); ?>", external_filemanager_path: "<?php echo base_url('filemanager'); ?>/", filemanager_title: "Filemanager", external_plugins: {"filemanager": "<?php echo base_url('filemanager/plugin.min.js'); ?>"}, });
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#337>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAeWETnkdTThmnPBpfPzz4PfClzFC5EHks5rgkNegaJpZM4MMqCa>.
|
I mean tinymce
|
try to see tinymce documentation but i think you can put a class in the selector part and put the same class in the textareas
… Il giorno 27 feb 2017, alle ore 10:39, nopzixcross ***@***.***> ha scritto:
I mean tinymce
trippo commented an hour ago
Do you mean tinymce or only filemanager?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#337 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAeWEbWUt_8WMGSeZk_2zF6JnIjuMDKOks5rgpnOgaJpZM4MMqCa>.
|
Hi Trippo. Any help plz? |
Can you share with me your url?
… Il giorno 10 mag 2017, alle ore 20:04, Dương Văn Chiển ***@***.***> ha scritto:
Hi Trippo.
I use two TinyMCE instances on a page and filemanager only loaded and works with the last instance.
I use class for selector to init tinMce.
Any help plz?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#337 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAeWEWu6ySSIujVB-cBQ0ZfaS4HpChY4ks5r4fw3gaJpZM4MMqCa>.
|
This is a backend of a website so I cant share it to you but I just use standard setup of TinyMCE and bellow is initial script tinyMCE.init({
document_base_url: window.location.protocol + '//' + window.location.host+'/',
selector: "textarea.mceEditor",
plugins: [
"advlist autolink lists link image charmap print preview anchor textcolor",
"searchreplace visualblocks code fullscreen",
"insertdatetime media table contextmenu paste"
],
fontsize_formats: "8pt 9pt 10pt 11pt 12pt 26pt 36pt",
external_plugins: { "filemanager" : window.location.origin+"/filemanager/plugin.min.js"},
toolbar: "insertfile undo redo | styleselect | fontselect | fontsizeselect | bold italic forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link responsivefilemanager",
external_filemanager_path:"/filemanager/",
filemanager_access_key: RESPONSIVE_FMG_TOKEN ,
autosave_ask_before_unload: false,
relative_urls: true,
//convert_urls: false,
remove_script_host: true,
theme: 'modern',
min_height: 160,
height : 500
}); |
more information for you, Trippo |
I tried in my demo page and work fine also in 4.6.1 <textarea class="tinymce" id="normal"></textarea> <textarea class="tinymce" id="second"></textarea>tinymce.init({ |
Hi, |
@chiendv , the same issue, could you fixed it |
Async problem. |
I use Responsive File manager for textarea #content and #content2
then the plugin is appear only #content
my code :
tinymce.init({ selector: "#content2,#content", theme: "modern", plugins: [ 'advlist autolink lists link image charmap print preview hr anchor pagebreak', 'searchreplace wordcount visualblocks visualchars code fullscreen', 'insertdatetime media nonbreaking save table contextmenu directionality', 'emoticons template paste textcolor colorpicker textpattern imagetools responsivefilemanager' ], toolbar1: 'insertfile undo redo | styleselect | bold italic underline | forecolor backcolor | alignleft aligncenter alignright alignjustify', toolbar2: 'table cut copy paste searchreplace | preview media image link unlink | bullist numlist outdent indent', image_advtab: true, relative_urls: false, remove_script_host: false, convert_urls: true, language: 'th_TH', content_css : "<?php echo base_url('assets/css/tinymce.css'); ?>", external_filemanager_path: "<?php echo base_url('filemanager'); ?>/", filemanager_title: "Filemanager", external_plugins: {"filemanager": "<?php echo base_url('filemanager/plugin.min.js'); ?>"}, });
The text was updated successfully, but these errors were encountered: