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

add recreate uuids plugin to prosemirror #556

Merged
merged 6 commits into from
Feb 1, 2023

Conversation

lagartoverde
Copy link
Contributor

No description provided.

@lagartoverde lagartoverde self-assigned this Jan 24, 2023
Copy link
Contributor

@elpoelma elpoelma left a comment

Choose a reason for hiding this comment

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

Can you add the recreateUri and uriAttributes to the args of the ember-node utility functions?

@elpoelma elpoelma self-requested a review January 26, 2023 15:40
Copy link
Contributor

@elpoelma elpoelma left a comment

Choose a reason for hiding this comment

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

Some suggestions:

  • This algorithm can maybe be extended to marks?
  • Maybe the nodes themselves can provide how to regenerate attributes? That way it is a bit more generic and can be easily extended to other type of attributes (not only uris).

@abeforgit
Copy link
Member

agree with elena's comments, good otherwise

@abeforgit abeforgit merged commit 7c06756 into master Feb 1, 2023
@abeforgit abeforgit deleted the feature/recreate-uuids-on-paste branch February 1, 2023 12:19
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.

3 participants