etherpad-lite
etherpad-lite copied to clipboard
Doing Ctrl-B, then typing, doesn't result in bold text, despite ep_sticky_attributes
Steps to reproduce:
-
Create a new Etherpad grain, e.g. on demo.sandstorm.io in an incognito window.
-
Press Ctrl-B on one's keyboard (or persumably Option-B on a mac?).
-
Type some text.
Expected behavior:
- The new text is written-out as bold.
Actual behavior:
- The new text isn't bold, but instead is in the default style.
Implementation notes:
- Per https://github.com/ether/etherpad-lite/issues/447 , the ep_sticky_attributes plugin should enable this behavior. However, per the default grain text, that plugin is enabled in Etherpad on Sandstorm. Therefore, I'm not quite sure what to suggest here except possibly tracing how keyboard events are handled in the case of Ctrl-B.
This works correctly for me. Here's what I did:
- Open Google Chrome on Linux.
- Open an incognito window.
- Visit etherpad.org.
- Click "try a demo".
- Click "try etherpad".
- Once loaded, press ctrl+b.
- Type.
I received the expected result: The text I typed was bold.
Can you please clarify what you did differently?
Similar behavior (italicize behaves same). Sent following to Sandstorm people last week:
Bold and italic shortcuts don't toggle without selection. I enter Command-b or Command-i (I assume ^b or ^i in Windows) with a null selection just the insertion point anywhere, and it doesn't toggle into/out of bold or italic respectively as I continue typing.