After entering html code in the html view that contains onclick attributes, and then switching to the WYSIWYG view (toggle editor), these attributes are removed.
<button class="btn btn-secondary" onclick="console.log('why does this get removed?')">My Button</button>
Results in:
<button class="btn btn-secondary">My Button</button>
This happens as a Super Admin, even though the global Text Filters is set to 'No Filtering'. That seems to have no effect at all.
In the TinyMCE plugin settings the 'Use Joomla Text Filter' option is switched off.
Labels |
Added:
?
|
In the TinyMCE plugin under Set 0, enable Use Joomla Text Filter
.
Wow, would never have found that. Very confusing on multiple levels!
Yeah, it's really not clear that those are Tabs in the first place, and then when you realize they're Tabs, you still don't understand where they start or end!
In the TinyMCE plugin under Set 0, enable
Use Joomla Text Filter
.
I'm surprised you were able to figure it out
Existing sets of the TinyMCE panel, and options for each set.
In each set you can add or remove from the available menus and buttons.
They look like tabs to me. Plus, the description above tabs hinted they are tabs. You can also check out the Help documentation.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-10 17:02:44 |
Closed_By | ⇒ | regularlabs |
PS: Might be connected to: #26185