You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
document.save() in CustomEditorProvider cannot working properly
Steps to Reproduce:
Create a new file worked on CustomEditorProvider
make a change on editor area
use Ctrl + S to save file (I used acquireTheiaApi , Created a socket to send message to call document.save on my CustomEditorProvider ), which has called save function but not success
click other area (resource explorer or editor title bar ) or open file in code editor and custom editor, than use Ctrl+S to call document.save and it worked
Operating System: Linuxmint
Theia Version: 1.12.0-next.9f13354e
The text was updated successfully, but these errors were encountered:
i canceled keyevent in js which run in webview . Then Ctrl + S can work properly.
but customEditor cannot active theia.workspace.onDidChangeActiveTextEditor, so i cannot get customEditor focus changed event.
Is there hava others way to get focused status of customEditor ?
@SunnyFitz
Thanks for letting us know of issue. Could you please add your example project and a short screen shots video of scenario so I could reproduce issue.
Thanks
Bug Description:
document.save() in CustomEditorProvider cannot working properly
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: