It would be nice if clicking the code bbcode button while text is selected to just copy it into the overlay textarea.
Might just be me, but I tend to have the habit of typing out/pasting code into the editor, selecting it, then clicking the code button. At that point I realise it doesn't copy the code into the textarea for me and have to close the overlay, recopy my text and paste it in...
EDIT:
Changing suggestion to removing code tag overlay in exchange for simple drop down menu similar to font family, alignment, drafts, etc.
Advantages:
Might just be me, but I tend to have the habit of typing out/pasting code into the editor, selecting it, then clicking the code button. At that point I realise it doesn't copy the code into the textarea for me and have to close the overlay, recopy my text and paste it in...
EDIT:
Changing suggestion to removing code tag overlay in exchange for simple drop down menu similar to font family, alignment, drafts, etc.
Advantages:
- More easily supports the wrapping of tags around text selection
- No need to make a request to the server when clicking the buttons
- Reduce a bit of code? (one less template, probably less JS code required)
- Code is saved by drafts (vs. code overlay is open and browser crashes, the code would not be saved?)
Last edited:
Upvote
1