contentco / quill-emoji

Quill module toolbar extension for emoji
273 stars 166 forks source link

Change position of emoji palette #144

Closed AndrewAKovalenko closed 2 years ago

AndrewAKovalenko commented 3 years ago

Is there a way to position palette near emoji icon on toolbar, and not near the place where we're typing text inside editor?

KeithGillette commented 3 years ago

I have pull request #129 open to improve the positioning of the palette so as to always stay within the viewport (hoping one of the maintainers, @yeminhtut or @himynameistimli will take time to review it), so having looked at the source code for displaying the palette, I don't believe there's a currently a way to position it based on the toolbar button, as the code now bases it on the Quill editor selection. I agree that this (or being able to specify an arbitrary target) would be a useful feature, though.

AndrewAKovalenko commented 3 years ago

@KeithGillette thanks for info