Skip to content

Controller - Move DocumentController in EditorController #222

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
adrian-moisa opened this issue Jun 18, 2023 · 1 comment
Closed

Controller - Move DocumentController in EditorController #222

adrian-moisa opened this issue Jun 18, 2023 · 1 comment
Assignees
Labels
duplicate Already reported or already fixed

Comments

@adrian-moisa
Copy link
Collaborator

The article subscribes to the initialization process and receives the default synchronized article. Now, it wants to update the VE (Visual Editor) controller. To perform the update, it needs the documentController. The documentController is created during the initialization of the VE widget. The VE widget is created when the article page triggers the build process, including the articleOk state store emit (the second emitted state). The build process, along with the visible VE, occurs after the article subscription initially emits the default values in sync. In other words, we are trying to update the documentController that the VE internally assumes to be available, even though we haven't created the VE widget yet, which creates the document controller.

In short, we want to update a document using a document controller before the document controller is created.

@adrian-moisa adrian-moisa self-assigned this Jun 18, 2023
@adrian-moisa adrian-moisa changed the title Move DocumentController in EditorController Controller - Move DocumentController in EditorController Aug 26, 2023
@adrian-moisa
Copy link
Collaborator Author

I believe this was fixed in #228

@adrian-moisa adrian-moisa added the duplicate Already reported or already fixed label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Already reported or already fixed
Projects
None yet
Development

No branches or pull requests

1 participant