You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to implement a divider (<hr>) BlockEmbed. I followed the "Cloning Medium" tutorial and have a basic divider working.
Now I'm trying to figure out how to make the divider selectable when the user moves the text cursor with arrow keys. I noticed that in Slab, this is implemented (the <hr> gets a ql-selected class). Do you have any pointers on how to implement this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm trying to implement a divider (
<hr>
) BlockEmbed. I followed the "Cloning Medium" tutorial and have a basic divider working.Now I'm trying to figure out how to make the divider selectable when the user moves the text cursor with arrow keys. I noticed that in Slab, this is implemented (the
<hr>
gets aql-selected
class). Do you have any pointers on how to implement this?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions