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

How to get the edited file stream #2867

Open
1 task done
gwmm678 opened this issue Sep 3, 2024 · 5 comments
Open
1 task done

How to get the edited file stream #2867

gwmm678 opened this issue Sep 3, 2024 · 5 comments
Assignees
Labels
waiting feedback Issues that we waiting to be answered from author of issue

Comments

@gwmm678
Copy link

gwmm678 commented Sep 3, 2024

This issue is unique.

  • I have used the search tool and did not find an issue describing my idea.

Your idea.

How to get the edited file stream

@gwmm678 gwmm678 closed this as completed Sep 3, 2024
@gwmm678 gwmm678 reopened this Sep 3, 2024
@gwmm678 gwmm678 closed this as completed Sep 3, 2024
@gwmm678 gwmm678 reopened this Sep 4, 2024
@Rita-Bubnova
Copy link
Member

Hello, @gwmm678.
Would you describe in more detail what you need?

@Rita-Bubnova Rita-Bubnova added the waiting feedback Issues that we waiting to be answered from author of issue label Sep 4, 2024
@gwmm678
Copy link
Author

gwmm678 commented Sep 4, 2024

@Rita-Bubnova Hello, I have written a plug-in, and then the editor needs to get the edited file stream immediately after editing, and then extract the fields I want to update to the plug-in

@Rita-Bubnova Rita-Bubnova removed the waiting feedback Issues that we waiting to be answered from author of issue label Sep 4, 2024
@askonev
Copy link
Member

askonev commented Sep 5, 2024

@gwmm678 Greetings. Are you reading the stream in the plugin code? This stream contains a document and you want to open it for editing in the editor. Did I understand you correctly?

@gwmm678
Copy link
Author

gwmm678 commented Sep 6, 2024

@askonev Hello, I want to obtain the file stream of the current document in the plugin. How can I edit the document to obtain the edited file stream

@askonev
Copy link
Member

askonev commented Sep 11, 2024

@gwmm678 Plugins were originally designed to extend the functionality of the editor using the Api rather than interacting with the document directly. The very ability to directly access a document from the context of a plugin contradicts the idea of a plugin. Perhaps it makes sense to implement document server integration for your tasks

@Rita-Bubnova Rita-Bubnova added the waiting feedback Issues that we waiting to be answered from author of issue label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting feedback Issues that we waiting to be answered from author of issue
Projects
None yet
Development

No branches or pull requests

3 participants