2amigos / yii2-tinymce-widget

TinyMCE WYSIWYG widget for Yii2
http://yiiwheels.com
Other
101 stars 48 forks source link

Problem while using bootstrap #4

Closed it3rmit closed 9 years ago

it3rmit commented 10 years ago

I use bootstrap in my yii2 application. When I use yii2-tinymce widget I get the the modal window with breaked styles (shown on the picture). After searching the solution, I found that bootstrap styles rewrite tynimce styles. incorrect image When I clear bootstrap.css file in assets, tinymce works perfect (shown on the picture). correct image What are the solutions to solve this problem? Thanks.

tonydspaniard commented 10 years ago

The only solution I think of is that you set the assetmanager to not register bootstrap.css and you forcely set it on a place where they do not override the rest automatically registered by tinymce

You can also register manually the compressed files and make the assetmanager to avoid registering those files.

it3rmit commented 10 years ago

I am not sure, what was the reason of breaking layout, but it was fixed in the latest release of tinymce. I have downloaded the latest release TinyMCE 4.1.6 and replaced all files in the asset folder of your widget with files from new release. Everything works fine. So, could you upgrade your widget with newer files?

tonydspaniard commented 10 years ago

Will sure do. But if you have time for a PR will review it asap. El 11/10/2014 15:37, "it3rmit" notifications@github.com escribió:

I am not sure, what was the reason of breaking layout, but it was fixed in the latest release of tinymce. I have downloaded the latest release TinyMCE 4.1.6 and replaced all files in the asset folder of your widget with files from new release. Everything works fine. So, could you upgrade your widget with newer files?

— Reply to this email directly or view it on GitHub https://github.com/2amigos/yii2-tinymce-widget/issues/4#issuecomment-58749809 .

tonydspaniard commented 9 years ago

bump