<script src="https://cdn.tiny.cloud/1/YOUR_API_KEY/6/tinymce.min.js" referrerpolicy="origin"></script>
tinymce.init({
selector: 'textarea#ID_OF_TEXTAREA',
menubar: false,
inline: true,
plugins: [
'autolink', 'autoresize', 'codesample', 'link', 'lists', 'media',
'powerpaste', 'table', 'image', 'quickbars', 'codesample'...
It’s basic HTML/JS. If you Google “update the textarea to support a text editor plugin” you’ll find numerous examples and tutorials.you really think i know how to do that
i've tried to do it and i can't, being a bad bitch only requires me to be able to edit my hotel, swfs, add furni, make sexy rooms ads and that's about it to be honestIt's called a wysiwyg editor, use tinymce, CKeditor, fraola, or whatever you think fits your need
<script src="https://cdn.tiny.cloud/1/YOUR_API_KEY/6/tinymce.min.js" referrerpolicy="origin"></script>
tinymce.init({
selector: 'textarea#ID_OF_TEXTAREA',
menubar: false,
inline: true,
plugins: [
'autolink', 'autoresize', 'codesample', 'link', 'lists', 'media',
'powerpaste', 'table', 'image', 'quickbars', 'codesample', 'help'
],
toolbar: false,
quickbars_insert_toolbar: 'quicktable image media codesample',
quickbars_selection_toolbar: 'bold italic underline | blocks | bullist numlist | blockquote quicklink',
contextmenu: 'undo redo | inserttable | cell row column deletetable | help',
powerpaste_word_import: 'clean',
powerpaste_html_import: 'clean',
});
i love youI like TinyMCE.
Here's how you use it:
Get an API key:You must be registered for see links(you need an account, it's free)
On your website, take note of the textarea you want to be WYSIWYG.
Include the TinyMCE JS (It'll give you the code you need on the dashboard):
HTML:<script src="https://cdn.tiny.cloud/1/YOUR_API_KEY/6/tinymce.min.js" referrerpolicy="origin"></script>
And then add the JS to initialize it (this is just an example, add and remove plugins/options as you need):
JavaScript:tinymce.init({ selector: 'textarea#ID_OF_TEXTAREA', menubar: false, inline: true, plugins: [ 'autolink', 'autoresize', 'codesample', 'link', 'lists', 'media', 'powerpaste', 'table', 'image', 'quickbars', 'codesample', 'help' ], toolbar: false, quickbars_insert_toolbar: 'quicktable image media codesample', quickbars_selection_toolbar: 'bold italic underline | blocks | bullist numlist | blockquote quicklink', contextmenu: 'undo redo | inserttable | cell row column deletetable | help', powerpaste_word_import: 'clean', powerpaste_html_import: 'clean', });