Plugins: line hightlight, linenumbers, show language, inline color, toolbar, copy to clipboard button
Environment: Browser (Chrome)
I am using two systems: One is a manager that creates texts for the other system. The manager is built with Angular (TypeScript) and I managed to get Prism working in TinyMCE. I downloaded the JS and CSS (for the language C#) from the website and referenced them in my Angular application. The rest is pretty simple.
When I use the code plugin I see I can select C# and it's highlighted nicely in my TinyMCE. I submit the text with the C# code.
I go to the other website, the one for customers. This is a WordPress website and I made a custom plugin to retrieve and show the texts from the manager. I referenced the JS and HTML for prism again. Then I try to view the text with the code highlighting... Nothing.
I can see the class language-csharp in the pre element, followed by a code HTML element.
Information:
I am using two systems: One is a manager that creates texts for the other system. The manager is built with Angular (TypeScript) and I managed to get Prism working in TinyMCE. I downloaded the JS and CSS (for the language C#) from the website and referenced them in my Angular application. The rest is pretty simple. When I use the code plugin I see I can select C# and it's highlighted nicely in my TinyMCE. I submit the text with the C# code.
I go to the other website, the one for customers. This is a WordPress website and I made a custom plugin to retrieve and show the texts from the manager. I referenced the JS and HTML for prism again. Then I try to view the text with the code highlighting... Nothing.
I can see the class language-csharp in the pre element, followed by a code HTML element.
Am I missing something?