Image resizing in Wysiwyg converts {img} to html image
- Status
- Open
- Subject
- Image resizing in Wysiwyg converts {img} to html image
- Version
- 6.x
- Feature
- WYSIWYG (What You See is What You Get)
- Submitted by
- Nelson Ko
- Lastmod by
- Nelson Ko
- Rating
- Description
- adding pref will "fix" this. However, for IE, there is an additioal CKEditor bug that still needs to be fixed: http://dev.ckeditor.com/ticket/4208
- Solution
- Copy to clipboardIndex: block.textarea.php =================================================================== --- block.textarea.php (revision 30451) +++ block.textarea.php (working copy) @@ -151,6 +151,7 @@ window.CKEDITOR.config.extraPlugins += (window.CKEDITOR.config.extraPlugins ? ",tikiplugin" : "tikiplugin" ); window.CKEDITOR.plugins.addExternal( "tikiplugin", "'.$tikiroot.'lib/ckeditor_tiki/plugins/tikiplugin/"); window.CKEDITOR.config.ajaxAutoSaveTargetUrl = "'.$tikiroot.'tiki-auto_save.php"; // URL to post to (also used for plugin processing) +window.CKEDITOR.config.disableObjectResizing = true; '); // before all if ($prefs['wysiwyg_htmltowiki'] === 'y') {
and if you are really desperate and can't wait for CKeditor to make a good patch, the following lines at the respective place indicated in http://dev.ckeditor.com/ticket/4208 might work:Copy to clipboardtry{A.document.$.execCommand('enableObjectResizing',false,!A.config.disableObjectResizing);}catch(aa){A.document.getBody().on( CKEDITOR.env.ie ? 'resizestart' : 'resize' , function( evt ) { evt.data.preventDefault();}); A.document.getBody().on( CKEDITOR.env.ie ? 'dragstart' : 'drag' , function( evt ) { evt.data.preventDefault();});}try{A.document.$.execCommand('enableInlineTableEditing',false,!A.config.disableNativeTableHandles);}catch(ab){ A.document.getBody().on( CKEDITOR.env.ie ? 'resizestart' : 'resize' , function( evt ) { evt.data.preventDefault();}); } - Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3620
- Created
- Tuesday 02 November, 2010 13:38:14 UTC
by Nelson Ko - LastModif
- Tuesday 02 November, 2010 14:27:58 UTC