Skip to content

Commit

Permalink
Fix issue where TinyMCE format menu was invisible [fixes #301]
Browse files Browse the repository at this point in the history
  • Loading branch information
datakurre committed Dec 8, 2016
1 parent a989520 commit d0eaff7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ New features:

Bug fixes:

- Fix issue where TinyMCE format menu was not visible
[datakurre]

- Fix issue where default layouts did not work properly, because they were
registered as unicode strings when encoded ASCII strings were required
[datakurre]
Expand Down
9 changes: 3 additions & 6 deletions src/plone/app/mosaic/browser/static/css/mosaic.tinymce.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@
}
/* XXX these are necessary fixes for tinymce menus
that are floating */
position: relative;

.mce-floatpanel.mce-fixed {
position: absolute;
}
.mce-sticky .mce-floatpanel.mce-fixed {
position: fixed;
}
.mosaic-enabled .mce-floatpanel.mce-menu {
// bah!!! need this because tiny menu *sometimes* not showing?
// This is crazy and annoying...
&.mce-sticky .mce-floatpanel.mce-fixed {
position: fixed;
}
}

0 comments on commit d0eaff7

Please sign in to comment.