Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

TinyMCE - Bug on Plugin Page - & Question


1. Looks like a bug on TinyMCE plugin example
https://preview.keenthemes.com/html/keen/docs/editors/tinymce/plugins

The html starts with
<textarea id="kt_docs_tinymce_plugins" name="kt_docs_tinymce_plugins" class="tox-target">

but the javascript references the 'basic' instead of 'plugins'
selector: "#kt_docs_tinymce_basic", height : "480"

Please fix page and advise correct javascript.

2. TinyMCE shows
TinyMCE 6.8 ... December 13th, 2023
Are you going to upgrade Keen 3.0.6 admin theme to latest TinyMCE anytime soon?

3. What are display options for mode, skin, & content_css?
if ( KTThemeMode.getMode() === "dark" ) {
options["skin"] = "oxide-dark";
options["content_css"] = "dark";
}


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

We will fix this issue and update the docs ASAP.

You can use the below JS instead:


const options = {
selector: "#kt_docs_tinymce_plugins",
height : "480",
toolbar: "advlist | autolink | link image | lists charmap | print preview",
plugins : "advlist autolink link image lists charmap print preview"
};

if ( KTThemeMode.getMode() === "dark" ) {
options["skin"] = "oxide-dark";
options["content_css"] = "dark";
}

tinymce.init(options);


We will check the new TinyMCE version and update it for Keen soon.

Regards.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(