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

feat: add image sizes #2

Merged
merged 4 commits into from
Dec 14, 2023
Merged

feat: add image sizes #2

merged 4 commits into from
Dec 14, 2023

Conversation

SzymonMrzyglod
Copy link

add image sizes

const readOnly = this.editor.props.readOnly;

const isSvg = src.toLowerCase().endsWith(".svg");

console.log(props.node.sttrs);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@SzymonMrzyglod SzymonMrzyglod merged commit 93a08b5 into master Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants