@sklinet/strapi-plugin-tinymce
Advanced tools
Comparing version
@@ -36,6 +36,8 @@ import React, { useEffect, useState } from "react"; | ||
const sourceProps = apiKey ? { apiKey } : pluginConfig?.tinymceSrc ? { tinymceScriptSrc: pluginConfig.tinymceSrc } : {}; | ||
return ( | ||
!loading && pluginConfig ? | ||
<Editor | ||
apiKey={apiKey || ""} | ||
{...sourceProps} | ||
value={value} | ||
@@ -42,0 +44,0 @@ tagName={name} |
{ | ||
"name": "@sklinet/strapi-plugin-tinymce", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Replaces the default Strapi WYSIWYG editor with a customized build of TinyMCE editor.", | ||
@@ -21,3 +21,3 @@ "private": false, | ||
"dependencies": { | ||
"@tinymce/tinymce-react": "4.3.2" | ||
"@tinymce/tinymce-react": "5.0.1" | ||
}, | ||
@@ -24,0 +24,0 @@ "author": { |
31761
0.38%763
0.13%+ Added
+ Added
- Removed
- Removed
Updated