Yoopta-Editor icon indicating copy to clipboard operation
Yoopta-Editor copied to clipboard

[CORE] Editor operations and API changes

Open Darginec05 opened this issue 1 year ago • 1 comments

Is this a unique feature?

  • [X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.

Proposed Solution

  • applyChanges should be replaced by applyTransforms
  • applyTransforms should include every operation
  • applyTransforms should batch all operations and make changes at once
  • add onChange prop
  • Should be history for the editor
  • Listen for changes directly in Editor and re-render by setState
  • Drafting of value should be applied at once after bunch of operations

Screenshots

No response

Do you want to work on this issue?

Yes

If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

No response

Darginec05 avatar Sep 28 '24 19:09 Darginec05