I am excited to start using the newest version of the TinyMCE plugin, with its enhanced features. I experimented with the URL to understand how the table plugin functions.
In the example provided, I noticed two classes named Dog and Cat, each associated with the values 'dog' and 'cat', respectively.
Could someone guide me on where these classes should be defined?
A code sample would be greatly appreciated.
table_class_list :
tinymce.init({
selector: "textarea", // modify this value based on your HTML
plugins: "table",
menubar: "table",
toolbar: "table",
table_class_list: [
{title: 'None', value : ''},
{title: 'Dog', value: 'dog'},
{title: 'Cat', value: 'cat'}
]
});
I attempted to apply some CSS styles from www.tinymce.com/css/codepen.min.css, but didn't notice any changes.
Your assistance with a code snippet would be invaluable.
body { padding: 5px; } cat{ background-color: red; } dog{ background-color: green; }