cherry-studio/src/renderer
beyondkmp 14e31018f7
fix: support spell check for mini app (#7602)
* feat(IpcChannel): add Webview_SetSpellCheckEnabled channel and implement spell check handling for webviews

- Introduced a new IPC channel for enabling/disabling spell check in webviews.
- Updated the registerIpc function to handle spell check settings for all webviews.
- Enhanced WebviewContainer to set spell check state on DOM ready event.
- Refactored context menu setup to accommodate webview context menus.

* refactor(ContextMenu): update methods to use Electron.WebContents instead of BrowserWindow

- Changed method signatures to accept Electron.WebContents for better context handling.
- Updated internal calls to utilize the new WebContents reference for toggling dev tools and managing spell check functionality.

* refactor(WebviewContainer): clean up import order and remove unused code

- Adjusted the import order in WebviewContainer.tsx for better readability.
- Removed redundant import of useSettings to streamline the component.
2025-06-28 08:36:32 +08:00
..
src fix: support spell check for mini app (#7602) 2025-06-28 08:36:32 +08:00
index.html refactor: update spinner handling and improve initialization timing 2025-05-18 22:05:35 +08:00
miniWindow.html fix: miniWindow not found 2025-05-11 23:54:47 +08:00
selectionAction.html feat: Selection Assistant / 划词助手 (#5900) 2025-05-26 16:50:52 +08:00
selectionToolbar.html refactor(SelectionAssistant): make all Toolbar CSS variables customizable (#7532) 2025-06-26 10:17:09 +08:00