acme
acme

Reputation: 14856

How to interact with a TinyMCE plugin when a plugin gets loaded

I'm looking for a way to modify the html of a plugin template (e.g. the advlink-plugin).

I need to add some html to the plugin template (adding a custom note at the bottom for example). But I don't want to change the template files directly (for upgrade reasons), but looking for a way to modify the template DOM with JavaScript.

So I want to use the API and attach to some event where I can modify the html of a plugin before it gets actually rendered to the browser. Does anyone know if this is possible? The API docs are pretty bad.

Upvotes: 1

Views: 125

Answers (1)

Thariama
Thariama

Reputation: 50832

Why don't you write an own plugin with that functionality? This is not that difficult.

Upvotes: 1

Related Questions