Convert the page editor to the new TinyMCE.
darkmorford -
9d6658343799
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -63,6 +63,7 adminmenu('manage-pages.php');
63 63
64 64 ?>
65 65
66 <!--
66 67 <script language="javascript" type="text/javascript" src="include/tiny_mce/tiny_mce.js"></script>
67 68 <script language="javascript" type="text/javascript">
68 69 tinyMCE.init({
@@ -83,6 +84,7 tinyMCE.init({
83 84
84 85 });
85 86 </script>
87 -->
86 88
87 89
88 90 <h2>Editing Page "<?php echo htmlentities($page->title, ENT_COMPAT, 'UTF-8') ; ?>"</h2>
@@ -159,4 +161,17 tinyMCE.init({
159 161 </div>
160 162 </form>
161 163
164 <script src="include/tinymce/tinymce.min.js"></script>
165 <script type="text/javascript">
166 tinymce.init({
167 selector: '#content',
168 plugins: 'charmap code image link paste preview',
169 content_css: 'styles/megatokyo.css',
170 style_formats_merge: true,
171 style_formats: [
172 {title: 'Spoiler', inline: 'span', classes: 'spoiler'}
173 ]
174 });
175 </script>
176
162 177 <?php adminfooter() ?>
Comments 0
You need to be logged in to leave comments. Login now