diff --git a/.api-version b/.api-version index 9246c4f01e..9da0a092a0 100644 --- a/.api-version +++ b/.api-version @@ -1 +1 @@ -8.3.2 \ No newline at end of file +8.4.0 \ No newline at end of file diff --git a/antora.yml b/antora.yml index 19b9629b75..dd2adb93de 100644 --- a/antora.yml +++ b/antora.yml @@ -10,7 +10,7 @@ asciidoc: companyurl: https://www.tiny.cloud cdnurl: https://cdn.tiny.cloud/1/no-api-key/tinymce/8/tinymce.min.js tdcdnurl: https://cdn.tiny.cloud/1/_your_api_key_/tinydrive/8/tinydrive.min.js - tinymce_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/8/tinymce.min.js + tinymce_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/8-testing/tinymce.min.js tinydrive_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinydrive/8/tinydrive.min.js webcomponent_url: https://cdn.jsdelivr.net/npm/@tinymce/tinymce-webcomponent/dist/tinymce-webcomponent.min.js jquery_url: https://cdn.jsdelivr.net/npm/@tinymce/tinymce-jquery@2/dist/tinymce-jquery.min.js @@ -22,11 +22,13 @@ asciidoc: dockerimageexporttopdf: registry.containers.tiny.cloud/pdf-converter-tiny dockerimageexporttopdfwindows: registry.containers.tiny.cloud/pdf-converter-windows-tiny # document converter placeholder variables - exportpdf_service_url: exportpdf_service_url placeholder + exportpdf_service_url: exportpdf_service_url placeholder + # TinyMCE AI demo API key + tinymceai_demo_api_key: qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc # product variables productname: TinyMCE productmajorversion: 8 - productminorversion: '8.3' + productminorversion: '8.4' ##### product name in codeblock prodnamecode: tinymce #### more names diff --git a/modules/ROOT/examples/live-demos/custom-view/index.js b/modules/ROOT/examples/live-demos/custom-view/index.js index 98e3a4e322..58b4a3b0d2 100644 --- a/modules/ROOT/examples/live-demos/custom-view/index.js +++ b/modules/ROOT/examples/live-demos/custom-view/index.js @@ -19,7 +19,7 @@ tinymce.init({ text: 'Save code', buttonType: 'primary', onAction: () => { - const codeContent = document.querySelector('.tox-view__pane_panel').value; + const codeContent = document.querySelector('.my-textarea').value; ed.setContent(codeContent); ed.execCommand('ToggleView', false, 'code'); console.log('save'); @@ -28,12 +28,12 @@ tinymce.init({ ], onShow: (api) => { const editorContent = ed.getContent(); - api.getContainer().innerHTML = ` + const container = api.getContainer(); + container.innerHTML = `