Skip to content

Custom element children not placed at the right position in component #249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Bricklou opened this issue Jan 10, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Bricklou
Copy link
Contributor

Bricklou commented Jan 10, 2024

I was looking at fixing my bug related to #244, i discovered that the zero-width space weren't at the right place like shown on this screen:
image

This code cause the behaviour below:
https://github.com/worktile/slate-angular/assets/15181236/167b8721-5f73-4e08-8e0c-945d6c21cfc4

EDIT: another side effect of using ZWS is that we can't select the whole paragraph (it seems slate-react have some kind of fix related to this issue)

@pubuzhixing8 pubuzhixing8 added the bug Something isn't working label Jan 11, 2024
@pubuzhixing8
Copy link
Collaborator

I reproduced this problem locally. I will confirm the problem. Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants