Added Models
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
<p>
|
||||
<label>Contenu<br>
|
||||
<textarea id="editor" name="content" rows="6" {# required <- removed because conflicts with TinyMCE#}>{{ post.content|default('') }}</textarea>
|
||||
<textarea id="editor" name="content" rows="6" >{{ post.content|default('') }}</textarea>
|
||||
</label>
|
||||
</p>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<script>
|
||||
tinymce.init({
|
||||
selector: '#editor',
|
||||
base_url: '/js/tinymce', // assure le bon chemin relatif
|
||||
base_url: '/js/tinymce',
|
||||
license_key: 'gpl',
|
||||
height: 400,
|
||||
menubar: false,
|
||||
|
||||
Reference in New Issue
Block a user