i'm using fckeditor inside b2evolution.
i can create a post just fine. when i want to edit the post, fck pulls it in strangely so that i see the html instead of the wysiwyg. for example: i create a post "big dog's rule" and i make "dog's" blue. it creates the following code:
"big <font color="#0000ff">dog's</font> rule"
then i save it and all is well until i go back to edit that post. then in the editor i actually see "big <font color="#0000ff">dog's</font> rule" and if i click 'view source' i see this:
"big <font color="#0000ff">dog's</font> rule"
anybody have any ideas?
i can create a post just fine. when i want to edit the post, fck pulls it in strangely so that i see the html instead of the wysiwyg. for example: i create a post "big dog's rule" and i make "dog's" blue. it creates the following code:
"big <font color="#0000ff">dog's</font> rule"
then i save it and all is well until i go back to edit that post. then in the editor i actually see "big <font color="#0000ff">dog's</font> rule" and if i click 'view source' i see this:
"big <font color="#0000ff">dog's</font> rule"
anybody have any ideas?
RE: formatting displayed when re-editing
just remove the filter, and it should be fine.
RE: formatting displayed when re-editing
for others who might follow in my footsteps:
remove the format_to_edit function call on the b2edit.php page in the admin folder.
it originally reads:
$content = format_to_edit( $edited_Item->get( 'content' ), $edited_Item->get( 'autobr' ) );
it should now read:
$content = $edited_Item->get( 'content' )