The [video src="http://www.alankabout.com/Capture.mp4" /] looks like a standard WP video shortcode, should work properly with or without TinyMCE Advanced.
Thread Starter
nd62
(@nd62)
Hi
thanks for the reply
i guess i missed in my first post what i am trying to achieve exactly.
pls take a look again at the video
style drop down / highlight left and highlight right than give the highlight a style in front end.
however, i guess now days they changed the dropdown name from “style” to “format”
in this case, is it possible to add 2 more options to format dropdown “highlight left and highlight right” than give the highlight a css style looks in front end??
this what i am asking if i can do such a thing in new tinymce.
regards
-
This reply was modified 6 years, 1 month ago by
nd62.
-
This reply was modified 6 years, 1 month ago by
nd62.
Ah, sorry, for some reason thought the question is about the shortcode 🙂
Yes, it is possible to set a completely custom sub-menu for there. Best to be done from a WP plugin but can also be added from https://ww.wp.xz.cn/plugins/advanced-tinymce-configuration/.
The actual setting format is pretty complex, but not that bad, see: https://www.tiny.cloud/docs-4x/configure/content-formatting/#style_formats. With this setting you can add specific tags, wrapper tags and use inline CSS so no changes to the front-end CSS are needed.
Thread Starter
nd62
(@nd62)
Hi
thanks for the information’s
regards
Thread Starter
nd62
(@nd62)
Hi
will i use the js code in function.php file?
thanks