javascript - Unable to get toolbars, reasonably-sized windows, and other things in TinyMCE 3.5.6 fullscreen mode -
i making changes set of forms using tinymce 3.5.6 wysiwyg editor. 1 of modifications make allow people edit text in separate window, , ability resize said window. following initialization:
$(document).ready(function() { tinymce.init({ theme: "advanced", mode : "exact", plugins : "fullscreen", toolbar : "fullscreen", elements : "id_notes_type_of_organization, id_mission_statement, id_goals_and_impact", theme_advanced_buttons3_add : "fullscreen" }); }); i fullscreen, not in separate window. if subsequently add fullscreen_new_window: true, new window opens but:
- the toolbars missing new window;
- the window size tiny , requires resizing;
- any text type window not carry on text field clicked "fullscreen" in.
i not sure how rectify #1 or #3.
problem 2 seems evident on chrome on linux in particular; using firefox 20 on linux, or chrome on os x, clicking fullscreen provides actual fullscreen window. (even behavior on chrome linux not appear consistent.)
but wanted work in chrome well; end, put following in previous tinymce.init statement, failed work:
fullscreen_settings: { theme_advanced_source_editor_width: 640, theme_advanced_source_editor_height: 480 } the debugging console shows when try open new window, jquery somehow not loaded (to wit, error "load jquery first!"). inserting reference in fullscreen.htm not seem rectify situation -- same errors.
this 1 of first forays tinymce, , feeling touch out of depth @ point. assistance quite welcome.
Comments
Post a Comment