Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SOLVED CKeditor Plugins (6 Questions)(& switching to CKeditor 4)
#9
That is not what I was seeing in my install, which i found odd, since that is modern html.
Let me check again.

also
config.extraPlugins = extraPlugins.join('youtube,');
is wrong syntax, join is like implode for arrays using a delimiter.

we are using an array, use push like the examples show in the file before the join!

Code:
    extraPlugins.push('youtube');
    config.extraPlugins = extraPlugins.join(','); // joins the config string for us

works fine

Be sure to add "Youtube" to your toolbar

you could also do string concatenation ( but then you gotta keep track of your commas , which is why i chose array push

Code:
    config.extraPlugins = extraPlugins.join(',');
    config.extraPlugins += ",youtube";

indeed my editor is now using strong also, very odd, i wonder if it was some config i had enabled when testing that was doing B by default. anyway thanks, i learned something new, i might add that to the config for others to comment out if they need it, although it is not proper html5
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
RE: CKeditor Plugins (6 Questions)(& switching to CKeditor 4) - by shawn_a - 2016-09-11, 23:23:55



Users browsing this thread: 2 Guest(s)