0

私は CKEditor の最新バージョン 3.6.2 を FCK のファイルマネージャーと組み合わせて使用​​しています。

すべてが正しく機能しているように見えますが、たとえば、画像を挿入して右に揃えると、この「配置」プロパティはエディターを介して保存されず、画像はテキストの上に配置されます。保存されないその他のプロパティは、幅と高さです。Alt保存しています。

これを修正する方法を知っている人はいますか?

前もって感謝します。

4

1 に答える 1

1

This was happening to me as well.

In my case it turned out to be an xss-filtering setting in CodeIngniter, which I use as a PHP framework. The way CKEditor posts the image attributes for some reason gets filtered out.

In case you use CodeIgniter as well, this was the fix for me In /application/config/config.php Change

$config['global_xss_filtering'] = true;

to

$config['global_xss_filtering'] = false;

.. and of course make sure you're not using xss_filtering on the form_validation rules in your controller.

于 2011-12-05T08:17:23.603 に答える