From: <jon...@us...> - 2013-01-11 14:20:32
|
Revision: 44504 http://sourceforge.net/p/tikiwiki/code/44504 Author: jonnybradley Date: 2013-01-11 14:20:28 +0000 (Fri, 11 Jan 2013) Log Message: ----------- [FIX] wysiwyg: Revert r43946 as it cannot work as far as i can see. Putting css in the main window's css won't affect ckeditor's css, which is where this styling is needed. Revision Links: -------------- http://sourceforge.net/p/tikiwiki/code/43946 Modified Paths: -------------- trunk/lib/ckeditor_tiki/plugins/tikiplugin/plugin.js Modified: trunk/lib/ckeditor_tiki/plugins/tikiplugin/plugin.js =================================================================== --- trunk/lib/ckeditor_tiki/plugins/tikiplugin/plugin.js 2013-01-11 14:09:07 UTC (rev 44503) +++ trunk/lib/ckeditor_tiki/plugins/tikiplugin/plugin.js 2013-01-11 14:20:28 UTC (rev 44504) @@ -65,17 +65,14 @@ editor.addCommand('tikiplugin', this.command); - $window.find('header').append( - '<style>' - + '.tiki_plugin' + editor.addCss('.tiki_plugin' + '{' + 'display: inline-block;' + 'background-color: #eee;' + 'border: 1px solid #666;' + '}' + ' div.tiki_plugin { width: 100%; }' - + '</style>' - ); + ); // If the "menu" plugin is loaded, register the menu items. if (editor.addMenuItems) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |