From 2cd7b453a8c62af6a337df7d13c49ab126534214 Mon Sep 17 00:00:00 2001 From: Arvin Han <20640097+ArvinJ-H@users.noreply.github.com> Date: Mon, 18 Mar 2024 12:09:56 +1100 Subject: [PATCH] Updates --- asset-manifest.json | 6 +++--- index.html | 2 +- static/js/{main.5fc1d3bf.js => main.64154fc4.js} | 6 +++--- ...5fc1d3bf.js.LICENSE.txt => main.64154fc4.js.LICENSE.txt} | 0 static/js/{main.5fc1d3bf.js.map => main.64154fc4.js.map} | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename static/js/{main.5fc1d3bf.js => main.64154fc4.js} (64%) rename static/js/{main.5fc1d3bf.js.LICENSE.txt => main.64154fc4.js.LICENSE.txt} (100%) rename static/js/{main.5fc1d3bf.js.map => main.64154fc4.js.map} (99%) diff --git a/asset-manifest.json b/asset-manifest.json index 3099eb5..2722a49 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,15 +1,15 @@ { "files": { "main.css": "/tinymce-react-test-page/static/css/main.fd7f2d71.css", - "main.js": "/tinymce-react-test-page/static/js/main.5fc1d3bf.js", + "main.js": "/tinymce-react-test-page/static/js/main.64154fc4.js", "static/js/815.a76b8dca.chunk.js": "/tinymce-react-test-page/static/js/815.a76b8dca.chunk.js", "index.html": "/tinymce-react-test-page/index.html", "main.fd7f2d71.css.map": "/tinymce-react-test-page/static/css/main.fd7f2d71.css.map", - "main.5fc1d3bf.js.map": "/tinymce-react-test-page/static/js/main.5fc1d3bf.js.map", + "main.64154fc4.js.map": "/tinymce-react-test-page/static/js/main.64154fc4.js.map", "815.a76b8dca.chunk.js.map": "/tinymce-react-test-page/static/js/815.a76b8dca.chunk.js.map" }, "entrypoints": [ "static/css/main.fd7f2d71.css", - "static/js/main.5fc1d3bf.js" + "static/js/main.64154fc4.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 92409fd..ec3d923 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Test page for tinymce-react
\ No newline at end of file +Test page for tinymce-react
\ No newline at end of file diff --git a/static/js/main.5fc1d3bf.js b/static/js/main.64154fc4.js similarity index 64% rename from static/js/main.5fc1d3bf.js rename to static/js/main.64154fc4.js index f8a11c6..1d795d7 100644 --- a/static/js/main.5fc1d3bf.js +++ b/static/js/main.64154fc4.js @@ -1,3 +1,3 @@ -/*! For license information please see main.5fc1d3bf.js.LICENSE.txt */ -(()=>{var __webpack_modules__={253:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _tinymce_tinymce_react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(204),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(685),_configs_c1_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(302),_configs_c2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(123),_configs_c3_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(860),_configs_c4_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(745),_configs_c5_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(258),_configs_c6_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(831),_snippets_basic_html__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(441),_snippets_s5_html__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(495),_snippets_s6_html__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(222),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(17),_params$get,_params$get2;const configWrapRe=/^\s*\(\s*function\s*\(\s*\)\s*\{\s*return\s*([\s\S]*);\s*\}\s*\)\s*\(\s*\)\s*;\s*$/,escapeHtml=e=>e.replaceAll(/&/g,"&").replaceAll(//g,">").replaceAll(/"/g,""").replaceAll(/'/g,"'"),unwrapConfig=e=>{const t=configWrapRe.exec(e);return null!==t?t[1]:e},replaceSnippetVars=(e,t,n)=>e.replaceAll(//g,(function(e,r){return"title"===r?escapeHtml(t):"init"===r?"<Editor init={".concat(escapeHtml(unwrapConfig(n)),"}\n/>"):(console.warn("Unknown variable",e),e)})),params=new URLSearchParams(window.location.search),baseUrl=window.location.href.indexOf("?")>0?window.location.href.substring(0,window.location.href.indexOf("?")):window.location.href,cloudChannel=null!==(_params$get=params.get("cloud-channel"))&&void 0!==_params$get?_params$get:"7-dev",apiKey=null!==(_params$get2=params.get("api-key"))&&void 0!==_params$get2?_params$get2:"b1g4d59rwwqxx1vj7mci23rjj8ubgb46i4xsio6ieig6fkps",TinyEd=_ref=>{let{title:title,config:config,snippet:snippet,...other}=_ref;const[init,setInit]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null),[initialValue,setInitialValue]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)("");return(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{setInit(eval(config)),setInitialValue(replaceSnippetVars(snippet,title,config))}),[title,config,snippet]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("h1",{children:title}),init&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_tinymce_tinymce_react__WEBPACK_IMPORTED_MODULE_0__.K,{apiKey:apiKey,cloudChannel:cloudChannel,init:init,initialValue:initialValue,...other}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("br",{})]})};function App(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div",{className:"App",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("h1",{children:["Showing cloud channel ",cloudChannel]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("p",{children:["View: ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("a",{href:baseUrl+"?cloud-channel=6-dev",children:"6-dev"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("a",{href:baseUrl+"?cloud-channel=6-testing",children:"6-testing"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("a",{href:baseUrl+"?cloud-channel=6-stable",children:"6-stable"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("p",{children:["View: ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("a",{href:baseUrl+"?cloud-channel=7-dev",children:"7-dev"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("a",{href:baseUrl+"?cloud-channel=7-testing",children:"7-testing"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("a",{href:baseUrl+"?cloud-channel=7-stable",children:"7-stable"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("label",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("input",{type:"checkbox",id:"streaming"})," Stream response"]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TinyEd,{config:_configs_c1_js__WEBPACK_IMPORTED_MODULE_2__,snippet:_snippets_basic_html__WEBPACK_IMPORTED_MODULE_8__,title:"Classic Editor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TinyEd,{config:_configs_c2_js__WEBPACK_IMPORTED_MODULE_3__,snippet:_snippets_basic_html__WEBPACK_IMPORTED_MODULE_8__,title:"Inline Editor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TinyEd,{config:_configs_c3_js__WEBPACK_IMPORTED_MODULE_4__,snippet:_snippets_basic_html__WEBPACK_IMPORTED_MODULE_8__,title:"Classic Editor - Quickbars on classic and mobile"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TinyEd,{config:_configs_c4_js__WEBPACK_IMPORTED_MODULE_5__,snippet:_snippets_basic_html__WEBPACK_IMPORTED_MODULE_8__,title:"Classic Editor - with toolbar bottom , quick bars and no mobile setup"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TinyEd,{config:_configs_c5_js__WEBPACK_IMPORTED_MODULE_6__,snippet:_snippets_s5_html__WEBPACK_IMPORTED_MODULE_9__,title:"Classic Editor - with random content and autoresize on"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TinyEd,{config:_configs_c6_js__WEBPACK_IMPORTED_MODULE_7__,snippet:_snippets_s6_html__WEBPACK_IMPORTED_MODULE_10__,title:"Place Holder Demo"})]})}const __WEBPACK_DEFAULT_EXPORT__=App},204:(e,t,n)=>{"use strict";n.d(t,{K:()=>T});var r=n(685),i=n(39),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?setTimeout(o,r):o()},reinitialize:function(){for(var t=e.pop();null!=t;t=e.pop())t.deleteScripts()}}}(),w=function(e){var t=e;return t&&t.tinymce?t.tinymce:null},_=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),k=function(){return k=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";var r=n(132);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},39:(e,t,n)=>{e.exports=n(963)()},132:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},636:(e,t,n)=>{"use strict";var r=n(685),i=n(411);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n