Closed goldengrisha closed 6 years ago
@goldengrisha - Can you clarify exactly what you're trying to achieve?
for example if I want to include this plugin I need to add tag like this and then plugins: ['gjs-plugin-export'], can it be achieved by import or require ?
You mean something like this?!?
import grapesjs from 'grapesjs';
import 'grapesjs-blocks-basic'; // <-- autoloads inside grapesjs instance
const editor = grapesjs.init({
// ...
plugins: ['gjs-blocks-basic'],
});
thanks, found a problem)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please help, how can I require or import grapesjs-blocks-basic, not through tag?