Skip to content
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

fix: match selected node and style rules in client side #8

Merged
merged 2 commits into from
Mar 15, 2018

Conversation

ktsn
Copy link
Owner

@ktsn ktsn commented Mar 15, 2018

This fixes #7

In this PR, I've moved style matcher from server side to client side so that we immediately calculate the selected node's styles. Also we can react the changes of any styles in editor to update the preview pane's styles.

so that we immediately react the style changes in editor for updating preview appearance
@ktsn ktsn merged commit 031ebad into master Mar 15, 2018
@ktsn ktsn deleted the style-matcher branch March 15, 2018 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Matched styles of selected node is not updated when the editor code is updated
1 participant