|
7 | 7 | </head> |
8 | 8 |
|
9 | 9 | <body> |
10 | | - <h1>TinyMCE Web Component Content Demo Page</h1> |
11 | | - <tinymce-editor promotion="false"> |
12 | | -<p style="text-align: center;"><span style="color: #bdc3c7;">&rarr; This is a full-featured editor demo. Please explore! &larr;</span></p> |
13 | | -<p style="text-align: center;">&nbsp;</p> |
14 | | -<h2 style="text-align: center;">TinyMCE is the world's most customizable, and flexible, rich text editor.</h2> |
15 | | -<p style="text-align: center;"><strong> <span style="font-size: 14pt;"> <span style="color: #7e8c8d; font-weight: 600;"> A featherweight download, TinyMCE can handle any challenge you throw at it. </span> </span> </strong></p> |
16 | | -<p style="text-align: center;">&nbsp;</p> |
17 | | -<table style="border-collapse: collapse; width: 85%; margin-left: auto; margin-right: auto; border: 0;"> |
18 | | -<tbody> |
19 | | -<tr> |
20 | | -<td style="width: 25%; text-align: center; padding: 7px;"><span style="color: #95a5a6;">🛠 50+ Plugins</span></td> |
21 | | -<td style="width: 25%; text-align: center; padding: 7px;"><span style="color: #95a5a6;">💡 Premium Support</span></td> |
22 | | -<td style="width: 25%; text-align: center; padding: 7px;"><span style="color: #95a5a6;">🖍 Custom Skins</span></td> |
23 | | -<td style="width: 25%; text-align: center; padding: 7px;"><span style="color: #95a5a6;">⚙ Full API Access</span></td> |
24 | | -</tr> |
25 | | -</tbody> |
26 | | -</table> |
27 | | - </tinymce-editor> |
28 | | - <script src="../../../node_modules/tinymce/tinymce.js"></script> |
29 | | - <script src="../../../dist/tinymce-webcomponent.js"></script> |
| 10 | + <h1>TinyMCE Web Component Content Demo Page</h1> |
| 11 | + |
| 12 | + <script> |
| 13 | + var editorConfig = { |
| 14 | + license_key: 'gpl' |
| 15 | + }; |
| 16 | + </script> |
| 17 | + |
| 18 | + <tinymce-editor config="editorConfig" promotion="false"> |
| 19 | + <p style="text-align: center;"><span style="color: #bdc3c7;">&rarr; This is a full-featured editor demo. Please explore! &larr;</span></p> |
| 20 | + <p style="text-align: center;">&nbsp;</p> |
| 21 | + <h2 style="text-align: center;">TinyMCE is the world's most customizable, and flexible, rich text editor.</h2> |
| 22 | + <p style="text-align: center;"><strong> <span style="font-size: 14pt;"> <span style="color: #7e8c8d; font-weight: 600;"> A featherweight download, TinyMCE can handle any challenge you throw at it. </span> </span> </strong></p> |
| 23 | + <p style="text-align: center;">&nbsp;</p> |
| 24 | + <table style="border-collapse: collapse; width: 85%; margin-left: auto; margin-right: auto; border: 0;"> |
| 25 | + <tbody> |
| 26 | + <tr> |
| 27 | + <td style="width: 25%; text-align: center; padding: 7px;"><span style="color: #95a5a6;">🛠 50+ Plugins</span></td> |
| 28 | + <td style="width: 25%; text-align: center; padding: 7px;"><span style="color: #95a5a6;">💡 Premium Support</span></td> |
| 29 | + <td style="width: 25%; text-align: center; padding: 7px;"><span style="color: #95a5a6;">🖍 Custom Skins</span></td> |
| 30 | + <td style="width: 25%; text-align: center; padding: 7px;"><span style="color: #95a5a6;">⚙ Full API Access</span></td> |
| 31 | + </tr> |
| 32 | + </tbody> |
| 33 | + </table> |
| 34 | + </tinymce-editor> |
| 35 | + <script src="../../../node_modules/tinymce/tinymce.js"></script> |
| 36 | + <script src="../../../dist/tinymce-webcomponent.js"></script> |
30 | 37 | </body> |
31 | 38 | </html> |
0 commit comments