diff --git a/app/client/package.json b/app/client/package.json index 839f09de1d..cac338ee4d 100644 --- a/app/client/package.json +++ b/app/client/package.json @@ -17,6 +17,7 @@ "@sentry/browser": "^5.6.3", "@sentry/webpack-plugin": "^1.10.0", "@syncfusion/ej2-react-grids": "^17.4.40", + "@tinymce/tinymce-react": "^3.5.0", "@types/chance": "^1.0.7", "@types/fontfaceobserver": "^0.0.6", "@types/lodash": "^4.14.120", @@ -89,6 +90,7 @@ "source-map-explorer": "^2.1.1", "styled-components": "^4.1.3", "tinycolor2": "^1.4.1", + "tinymce": "^5.2.0", "toposort": "^2.0.2", "ts-loader": "^6.0.4", "typescript": "^3.6.3", diff --git a/app/client/public/index.html b/app/client/public/index.html index 59eb2affff..8e809a7c22 100755 --- a/app/client/public/index.html +++ b/app/client/public/index.html @@ -3,13 +3,12 @@ - + - - + Appsmith diff --git a/app/client/public/tinymce/tinymce.min.js b/app/client/public/tinymce/tinymce.min.js new file mode 100644 index 0000000000..43526e4c0a --- /dev/null +++ b/app/client/public/tinymce/tinymce.min.js @@ -0,0 +1,32 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.6 (2020-01-28) + */ +!function(j){"use strict";function i(){}var q=function(n,r){return function(){for(var e=[],t=0;t=i.length&&n(r)}}(t))})})}var Ut,jt,qt,$t=Vt.exports.boltExport,Wt=function(e){var n=k.none(),t=[],r=function(e){o()?a(e):t.push(e)},o=function(){return n.isSome()},i=function(e){z(e,a)},a=function(t){n.each(function(e){j.setTimeout(function(){t(e)},0)})};return e(function(e){n=k.some(e),i(t),t=[]}),{get:r,map:function(n){return Wt(function(t){r(function(e){t(n(e))})})},isReady:o}},Kt={nu:Wt,pure:function(t){return Wt(function(e){e(t)})}},Xt=function(n){function e(e){n().then(e,It)}return{map:function(e){return Xt(function(){return n().then(e)})},bind:function(t){return Xt(function(){return n().then(function(e){return t(e).toPromise()})})},anonBind:function(e){return Xt(function(){return n().then(function(){return e.toPromise()})})},toLazy:function(){return Kt.nu(e)},toCached:function(){var e=null;return Xt(function(){return null===e&&(e=n()),e})},toPromise:n,get:e}},Yt={nu:function(e){return Xt(function(){return new $t(e)})},pure:function(e){return Xt(function(){return $t.resolve(e)})}},Gt=function(e){return Ft(e,Yt.nu)},Jt=function(n){return{is:function(e){return n===e},isValue:a,isError:c,getOr:$(n),getOrThunk:$(n),getOrDie:$(n),or:function(e){return Jt(n)},orThunk:function(e){return Jt(n)},fold:function(e,t){return t(n)},map:function(e){return Jt(e(n))},mapError:function(e){return Jt(n)},each:function(e){e(n)},bind:function(e){return e(n)},exists:function(e){return e(n)},forall:function(e){return e(n)},toOption:function(){return k.some(n)}}},Qt=function(n){return{is:c,isValue:c,isError:a,getOr:W,getOrThunk:function(e){return e()},getOrDie:function(){return function(e){return function(){throw new Error(e)}}(String(n))()},or:function(e){return e},orThunk:function(e){return e()},fold:function(e,t){return e(n)},map:function(e){return Qt(n)},mapError:function(e){return Qt(e(n))},each:i,bind:function(e){return Qt(n)},exists:c,forall:a,toOption:k.none}},Zt={value:Jt,error:Qt,fromOption:function(e,t){return e.fold(function(){return Qt(t)},Jt)}},en=window.Promise?window.Promise:(Ut=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},jt=nn.immediateFn||"function"==typeof j.setImmediate&&j.setImmediate||function(e){j.setTimeout(e,1)},nn.prototype["catch"]=function(e){return this.then(null,e)},nn.prototype.then=function(n,r){var o=this;return new nn(function(e,t){rn.call(o,new sn(n,r,e,t))})},nn.all=function(){var s=Array.prototype.slice.call(1===arguments.length&&Ut(arguments[0])?arguments[0]:arguments);return new nn(function(o,i){if(0===s.length)return o([]);var a=s.length;function u(t,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void n.call(e,function(e){u(t,e)},i)}s[t]=e,0==--a&&o(s)}catch(r){i(r)}}for(var e=0;e\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Qn=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zn=/[<>&\"\']/g,er=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,tr={128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"};Pn={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},Ln={"<":"<",">":">","&":"&",""":'"',"'":"'"};function nr(e,t){var n,r,o,i={};if(e){for(e=e.split(","),t=t||10,n=0;n>10),56320+(1023&t))):tr[t]||String.fromCharCode(t):Ln[e]||Hn[e]||function(e){var t;return(t=bt.fromTag("div").dom()).innerHTML=e,t.textContent||t.innerText||e}(e)})}},ur={},sr={},cr=Rn.makeMap,lr=Rn.each,fr=Rn.extend,dr=Rn.explode,hr=Rn.inArray,mr=function(e,t){return(e=Rn.trim(e))?e.split(t||" "):[]},gr=function(e){function t(e,t,n){function r(e,t){var n,r,o={};for(n=0,r=e.length;n