Closed (won't fix)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
6.x-1.3-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2008 at 09:41 UTC
Updated:
22 Apr 2011 at 20:14 UTC
I believe the issue is this:
Drupal Core styles.css uses img { border: 0; }
FCKEditor assigns a border to an image with the border=x
The core Drupal CSS is trumping this border=x call.
Questions:
How do you get FCKEditor to NOT use the border tag but rather use Style="border:1px;" ?
The reason drupal uses the border: 0 is because it is XHTML compliant to do so. FCKEditor NEEDS to not use the deprecated tags... it needs to use styles, even if they are inline.
Please TELL me how to implement this. It is driving me crazy!
Comments
Comment #1
wwalc commentedAFAIK the only way to do this is to use fckstyles.xml that add border style to img tag and select this style in FCKeditor toolbar.
To see why it is impossible, open fckeditor/editor/dialog/fck_image/fck_image.js and take a look at UpdateImage() function.
Comment #2
droshani commentedI have the same issue and I think it needs to be addressed in a constructive way.
Comment #3
sheba commentedI have this problem too.
Comment #4
HS commentedHave any of you found a better alternative to FCK to address this? If so, please share that info.