Hi
I believe this bug is not already posted. My apologies if it has been.
I created a new input type called 'CKEditor' and set it as default. In it I included all the recommended tags as detailed in the 'ReadMe.txt' file. However, when I include an image in a normal page content type it will let me re-size the img in the UI and remember my settings, but when I submit, or preview, it does not show the resize or float. It simply reproduces the img in its original size and position.
I have tried to find a solution but so far have been unsuccessful. I assume it is a tag missing as when I switch to 'Full HTML' it works fine.
For clarification the tags included are as follows:
<a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike> <caption> <tbody>
This is not an issue for me personally as I can switch to 'Full HTML' but wanted to report the bug.
Comments
Comment #1
bmx269 commentedI too have the same issue, it seams that the editor uses css to scale, in the form of a style attrib inside an image tag. I am trying to solve this now.
Comment #2
bmx269 commentedOk, if we can make a change to the settings to change the attribute instead of adding a css style, that would fix our issue.
Comment #3
wwalc commentedThis is because Filtered HTML input format in Drupal strips inline styles.
The "align" attribute is deprecated: http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG
The only way to solve this issue is to either use Full HTML filter (not recommended if you don't trust all users) or replace HTML filter with filter provided by one of the following modules:
http://drupal.org/project/wysiwyg_filter <- this one seems to be the easiest to install, does not require third-party libraries
http://drupal.org/project/htmlpurifier <- the most popular and powerful, the configuration might be a bit compicated for less advanced users
http://drupal.org/project/htmLawed <- another alternative, less popular than both modules above
I guess this should be added to Readme/Troubleshooting.
Comment #4
wwalc commentedUpdated the documentation in CVS and here: http://drupal.ckeditor.com/filters.