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

importcss plugin causes javascript hang, misplacement of formats menu #1015

Closed
TinyMCE-User opened this issue Aug 26, 2013 · 3 comments
Closed

Comments

@TinyMCE-User
Copy link

Description of problem:
The importcss plugin causes a javascript hang and the Formats menu contents get misplaced. See attached screen shot. It may be because content_css has 5 CSS files. I added 'preview_styles: false' but it didn't help.

Steps to reproduce:

  1. add 'importcss' as a plugin
  2. add 'styleselect' as toolbar item
  3. add several CSS files to 'content_css'
  4. load tinyMCE4 and click the Formats menu

Expected result:
Pulldown menu rendered in the Formats menu.

Actual result:
Pulldown menu rendered below TinyMCE, not connected visually.
Javascript hang.
Firefox warning prompt to stop unresponsive scripts.

Legacy information imported from TinyMCE bug tracker:

#T6242 posted by giulio

Tags: [firefox importcss javascript]
Status: Closed
Resolution: Fixed
Attached URL: none

@TinyMCE-User
Copy link
Author

Need steps to reproduce this. Might be a large CSS file, circular references or similar. Please attach a working example where this is happening. Thanks

Posted by spocke

@TinyMCE-User
Copy link
Author

Here is the working example of the issue: http://filtasystems-com.chiefinternetmarketer.net/tiny4test.cfm
It's loading 5 css files. About 18,000 lines of CSS.

Posted by giulio

@TinyMCE-User
Copy link
Author

Optimized it a bit. Added a new importcss_file_filter option that allows you to exclude bootstrap etc. Works a lot better now.

Posted by spocke

TheSpyder pushed a commit that referenced this issue Jan 30, 2019
* commit '0f283d774577c69915ac09fa52db5deb2b19296c':
  TINY-3247: Fixed an issue where scrolling with multiple editors would cause a ResizeWindow event to fire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant