@lotte-innovate/ui-component-test 0.1.108 → 0.1.109
Sign up to get free protection for your applications and to get access to all the features.
@@ -12,8 +12,6 @@ import 'tinymce/plugins/emoticons/js/emojis';
|
|
12
12
|
import 'tinymce/plugins/link';
|
13
13
|
import 'tinymce/plugins/lists';
|
14
14
|
import 'tinymce/plugins/table';
|
15
|
-
import 'tinymce/skins/ui/oxide/content.css';
|
16
|
-
import 'tinymce/skins/content/default/content.css';
|
17
15
|
export interface EditorProps extends VariantProps<typeof editorVariants> {
|
18
16
|
tinymceScriptSrc?: string;
|
19
17
|
}
|
@@ -41,8 +41,6 @@ import 'tinymce/plugins/emoticons/js/emojis';
|
|
41
41
|
import 'tinymce/plugins/link';
|
42
42
|
import 'tinymce/plugins/lists';
|
43
43
|
import 'tinymce/plugins/table';
|
44
|
-
import 'tinymce/skins/ui/oxide/content.css';
|
45
|
-
import 'tinymce/skins/content/default/content.css';
|
46
44
|
var editorVariants = cva('', {
|
47
45
|
variants: {
|
48
46
|
scaling: __assign({}, scalingVariants),
|
@@ -1,3 +1,3 @@
|
|
1
1
|
"use client";
|
2
|
-
import{jsx as t}from"react/jsx-runtime";import{forwardRef as i,useEffect as e}from"react";import{cva as n}from"class-variance-authority";import{scalingVariants as r}from"../../constants.mjs";import o from"tinymce";import"tinymce/icons/default";import"tinymce/themes/silver";import"tinymce/models/dom";import"tinymce/skins/ui/oxide/skin.css";import"tinymce/plugins/advlist";import"tinymce/plugins/code";import"tinymce/plugins/emoticons";import"tinymce/plugins/emoticons/js/emojis";import"tinymce/plugins/link";import"tinymce/plugins/lists";import"tinymce/plugins/table";
|
2
|
+
import{jsx as t}from"react/jsx-runtime";import{forwardRef as i,useEffect as e}from"react";import{cva as n}from"class-variance-authority";import{scalingVariants as r}from"../../constants.mjs";import o from"tinymce";import"tinymce/icons/default";import"tinymce/themes/silver";import"tinymce/models/dom";import"tinymce/skins/ui/oxide/skin.css";import"tinymce/plugins/advlist";import"tinymce/plugins/code";import"tinymce/plugins/emoticons";import"tinymce/plugins/emoticons/js/emojis";import"tinymce/plugins/link";import"tinymce/plugins/lists";import"tinymce/plugins/table";var c=function(){return c=Object.assign||function(t){for(var i,e=1,n=arguments.length;e<n;e++)for(var r in i=arguments[e])Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r]);return t},c.apply(this,arguments)},s=function(t,i){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(t);r<n.length;r++)i.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(e[n[r]]=t[n[r]])}return e};n("",{variants:{scaling:c({},r),size:{small:"w-[500px] h-[350px]",medium:"w-[550px] h-[400px]",large:"w-[600px] h-[450px]"}},defaultVariants:{scaling:"100%",size:"medium"}});var m=function(){"undefined"!=typeof window&&o.init({selector:"#tinymce",plugins:"link table code",toolbar:"undo redo | formatselect | bold italic | alignleft aligncenter alignright | code",skin:!1,tinymceScriptSrc:"",src:""})},a=i((function(i,n){return i.className,i.size,i.scaling,i.tinymceScriptSrc,s(i,["className","size","scaling","tinymceScriptSrc"]),e((function(){m()}),[]),t("textarea",{id:"tinymce",ref:n})}));a.displayName="Editor";export{a as Editor,a as default,m as initTinyMCE};
|
3
3
|
//# sourceMappingURL=index.mjs.map
|