diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index efa28e28..c11b95b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: - name: Upload Release Asset env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload ${{ github.event.release.tag_name }} ./build/distributions/* + run: gh release upload ${{ github.event.release.tag_name }} ./plugin/build/distributions/* # Create a pull request - name: Create Pull Request diff --git a/plugin/src/main/kotlin/com/github/bric3/excalidraw/editor/LoadableJCEFHtmlPanel.kt b/plugin/src/main/kotlin/com/github/bric3/excalidraw/editor/LoadableJCEFHtmlPanel.kt index 8e0eb9ec..b521eeab 100644 --- a/plugin/src/main/kotlin/com/github/bric3/excalidraw/editor/LoadableJCEFHtmlPanel.kt +++ b/plugin/src/main/kotlin/com/github/bric3/excalidraw/editor/LoadableJCEFHtmlPanel.kt @@ -73,6 +73,9 @@ class LoadableJCEFHtmlPanel( frame: CefFrame?, transitionType: CefRequest.TransitionType? ) { + if (openDevtools) { + jbCefBrowser.openDevtools() + } alarm.addRequest( { jbCefBrowser.loadHTML(timeoutCallback!!) }, Registry.intValue("html.editor.timeout", 10000)