strapi plugin react editorjs
v2.0.2


yarn add strapi-plugin-react-editorjs
# or
npm install strapi-plugin-react-editorjsStrapi가 링크 도구 썸네일을 올바르게 표시하려면 ./config/middlewares.js의 'strapi :: security'라인을 편집해야합니다. 해당 라인을 다음으로 변경하십시오 (자신의 위험에 따라이를 수행하십시오).
module . exports = [
// ...
{
name : 'strapi::security' ,
config : {
contentSecurityPolicy : {
directives : {
'img-src' : [ '*' ] ,
} ,
}
} ,
} ,
// ...
] ; 편집기의 모양을 변경하거나 EditorJS 플러그인을 추가/제거하려면 다음을 수행해야합니다.
yarn remove strapi-plugin-react-editorjs
# or
npm uninstall strapi-plugin-react-editorjs # If you wish to clone the Master Branch
git clone https://github.com/melishev/strapi-plugin-react-editorjs.git
# If you wish to clone the Beta Branch
git clone --single-branch --branch beta https://github.com/melishev/strapi-plugin-react-editorjs.gitcd strapi-plugin-react-editorjsyarn install 또는 npm install module . exports = ( { env } ) => ( {
// ...
'editorjs' : {
enabled : true ,
resolve : './src/plugins/strapi-plugin-react-editorjs'
} ,
// ...
} )./src/plugins/strapi-plugin-react-editorjs/admin/src/config/customTools.js 파일을 편집하십시오.customTools.js 파일에서 편집 할 수 없습니다. 더 발전 시키려면 더욱 발전하려면 훨씬 더 진보 된 지식과 테스트가 필요합니다.yarn build
# or
npm run build이 프로젝트가 도움이된다면 별을 줘.