grande.js icon indicating copy to clipboard operation
grande.js copied to clipboard

Small improvements

Open tdewolff opened this issue 11 years ago • 2 comments

I removed standard CSS from the body tag, it interferes with my styling and it is unnecessary. Menu now hides when clicking outside the editor. I believe this is expected behaviour, I myself kept clicking outside only to note the menu never hides that way. Which is weird... Unable to select whitespace, you can't and shouldn't apply styling to whitespace. Clicking a button in menu now only works with the left mousebutton, this is expected and default button behaviour.

What I think should be implemented is that selected text is trimmed of whitespace at the beginning and end. So if you select "Hello " it will style "Hello" and exclude the trailing whitespace.

tdewolff avatar Jan 21 '14 12:01 tdewolff

Hey @TacoDeWolff, the changes for the menu changes look good, could we keep the CSS in the editor for now and refactor that into a separate style sheet later? It takes away styling currently from the demo, thanks!

mduvall avatar May 09 '14 16:05 mduvall

Excellent, sounds good!

tdewolff avatar May 12 '14 08:05 tdewolff