2016-09-11, 23:23:55
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!
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
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
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