tinyMCE アダプタを使用してプレーン テキスト アイテムを編集するとうまくいきますが、その後は inplaceedit でテキストを編集できません。
たとえば、次から始めるとします。
some unformatted text
次に、ダブルクリックして編集できますが、たとえば、任意の種類のマークアップで保存する場合:
<p>some unformatted <em>text</em></p>
その後、ダブルクリックして編集することはできなくなりました。さらに奇妙なことに、テンプレートに移動して変更 {% inplace_edit "item.about_story" adaptor="tiny" %}
を 追加すると{% inplace_edit "item.about_story" | safe adaptor="tiny" %}
、ページはフォーマットされていないテキストをマークアップでレンダリングしますが、tinyMCE 編集モードでスタックします。
私のプロジェクトは参考のためにここにあります: https://github.com/originalsurfmex/addition_interiors_project
モデル名: class About
ビュー名: class AboutDetail
テンプレート名: about_list.html
私のモデルファイル: https://github.com/originalsurfmex/addition_interiors_project/blob/master/frontpage/models.py
私のビューファイル: https://github.com/originalsurfmex/addition_interiors_project/blob/master/frontpage/views.py
virtualenvironment:
python 3.3
django 1.6
django-inplaceedit-extra-fields==0.5.0
django-inplaceedit==1.3.0
django-grappelli==2.5.2
django-filebrowser==3.5.4