2 ms·
Tooltips! Good point! Done: https://github.com/bergie/hallo/commit/259c6172e475188f01fd92ff1b2489c33bc253f6 https://github.com/bergie/hallo/commit/259c6172e475
by bergie 15y ago
Tooltips!
Good point! Done: https://github.com/bergie/hallo/commit/259c6172e475188f01fd92ff1b2489c33bc253f6 https://github.com/bergie/hallo/commit/259c6172e475188f01fd9...
Selecting text in the middle of a paragraph and choosing a header type or pre or blockquote affects the whole paragraph. This isn't immediately intuitive. I don't have a good solution to this, but it's something to consider.
Yeah, this is what browsers do by default when issuing commands to the contentEditable. The way to fix this would be to recognize the command before it issued and splitting the text before and after a selection to their own block-level elements.
https://github.com/bergie/hallo/issues/54 https://github.com/bergie/hallo/issues/54
Once I select text in the middle of a paragraph and mark it as pre there doesn't seem to be a way to back out this change, selecting blockquote just embeds a blockquote in the pre block.
Yeah, pre is kind of difficult to handle. I'm thinking about solutions. Previous Hallo didn't have pre enabled to work around this, but I really would like to be able to add code snippets when I write.
The <= and => icons are not intuitive as undo/redo.
I'm using FontAwesome, and they will hopefully add a proper undo at some point (https://github.com/FortAwesome/Font-Awesome/issues/16 https://github.com/FortAwesome/Font-Awesome/issues/16).
The actual undo/redo implementation comes from the browser, so it is a bit hard to do much about it. But whenever we get to doing OT with ShareJS there might come a better way to handle editing history.