Adding buttons to the advanced text editor
I need to add two buttons to the editor for the advanced text editor. One for subscript and one for superscript. Can someone point me in the right direction.
I've spent several hours chasing this rabbit so forgive me if I seem so. :)
I am a software engineer and while I could craft a solution myself I really would like to know what is blocking this simple task. I shouldn't have to reinvent the wheel and introduce complexity for something that according to documentation from various sources including ckeditor's should be as simple as making a couple of edits.
What is blocking the addition of buttons to the editor? Multiple choice is one example of an h5p library that has the subscript and superscript buttons on the menu. It looks like they're added via the semantics.json file. Why doesn't the same method work for the advanced text library?
The same is true for other instances of the editor that appear in the edit tab of different content types; there are subscript and superscript buttons on the menu and on others there are not. Where/how do buttons get added to the editor's UI? CKEditor config or the semantics for the library or somewhere else? I'm working with the advanced text library and would like to know which configuration file needs to be edited. I am looking at the network tab to see which file loads when I hit the pencil to edit the text.
This is the file that loads:
... But when I make changes to this file and reload, clearing the cache of course, there are no visual changes to the editor's UI. In fact I can completely comment out this file, reload the page, click the pencil, confirm the changes were loaded but even with the entire file 'commented out' there is no visual change. SO, I think something might be overriding it.