I changed the CSS and Javascript in the "Advanced Editor" to clean it up. This is also the editor seen in "New Thread" and "New Reply". Basically I got rid of the mouseover style changes which were messed up due to vB legacy JS code from a decade ago.
While doing this change, I then completed the first phase toward changing the attachment form to a Bootstrap Modal, but did not complete the change because I need to get rid of all the table elements first (there are quite a few). However, I did manage to add some Bootstrap classes and cleaned this form up as well:
I don't want to spend too much time on this, because I plan to change this entire method of uploading attachments to the forums, but this does clean it up a bit.
In addition, while I was at this "editor project".. I made a lot of Bootstrap-related changes to all editors (new thread, quick reply, advanced and edit post).
It's still not so great; but it is much better than it was (had not really updated these editors in around eight years, LOL)
Yeah, that color picker works in the "Quick Reply Editor" but not the "Advanced Editor" ... the code is the same and there are no Javascript errors, so it is disabled until I get around to fixing it.
I have on idea why it works in one editor and not the other with the same code with no errors. Will have to put it on the TODO list.
Just use the Quick Editor when you need colors, or just add them by hand if you really need them blah blah
Have been working for a day on getting the "manage attachment" popup to work perfectly as a Bootstrap modal; but I cannot get it to work perfectly 100% as a modal, so I have modified the popup to look like a modal, but it is really just a page popup for now:
The reason it does not work perfectly, is that the editor page does not immediately update when a new attachment is added via the modal. This will require more reactive code (like VueJS) or maybe some additional jQuery; but since it works perfectly fine as "not a modal" right now, I'm going to let it stay as it for the time being until I get better at modal development.
It's quite similar, but the modal looks better but since the modal does not play perfectly with the editor page, will stay with the "modal-looking popup window" for now.....