Browse Source

Update configs

pull/2219/head
Artur Arseniev 7 years ago
parent
commit
a2ace63a32
  1. 2
      src/dom_components/config/config.js

2
src/dom_components/config/config.js

@ -41,7 +41,7 @@ export default {
* It might be useful to transform custom objects (es. some framework specific JSX) to GrapesJS component one.
* This custom function will be executed on ANY new added component to the editor so make smart checks/conditions
* to avoid doing useless executions
* By default, GrapesJS supports already React Element
* By default, GrapesJS supports already elements generated from React JSX preset
* @example
* processor: (obj) => {
* if (obj.$$typeof) { // eg. this is a React Element

Loading…
Cancel
Save