I'd like to change the tool tip for the TinyMCE 4 "removeformatting" button:
from "Clear formatting" to "Clear selected formatting." But I'm not able to find where in the TinyMCE code this button is defined.
Can someone point me to the ed.addButton code for it?
Thanks
By the looks of it the line you are looking for is:
So a simple JS search and rewrite the inner HTML would work. But this button clears all formatting on the text if nothing is selected or only clears the selected text if there is a selection. (Note the id of the element will change depending on what tool bars you have loaded, that line was taken from a full featured demo)
Though the actual hard coded string seems to be located in
on line 300