equal
deleted
inserted
replaced
71 |
71 |
72 You can set TinyMCE widget for particular form field using code below: |
72 You can set TinyMCE widget for particular form field using code below: |
73 class ExampleForm(helper.forms.BaseForm): |
73 class ExampleForm(helper.forms.BaseForm): |
74 content = forms.fields.CharField(widget=helper.widgets.TinyMCE()) |
74 content = forms.fields.CharField(widget=helper.widgets.TinyMCE()) |
75 |
75 |
76 You can include tiny_mce_src.js in your template using: |
76 You can include tiny_mce.js in your template using: |
77 {% block scripts %} |
77 {% block scripts %} |
78 <script type="text/javascript" src="/tiny_mce/tiny_mce_src.js"></script> |
78 <script type="text/javascript" src="/tiny_mce/tiny_mce.js"></script> |
79 {% endblock %} |
79 {% endblock %} |
80 """ |
80 """ |
81 |
81 |
82 features1 = ("bold,italic,underline,strikethrough,blockquote,|," |
82 features1 = ("bold,italic,underline,strikethrough,blockquote,|," |
83 ",justifyleft,justifycenter,justifyright,justifyfull,|," |
83 ",justifyleft,justifycenter,justifyright,justifyfull,|," |