Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(addContent): only process addExtensions once
Use `editor.options.extensions`. This only includes the extensions that were configured when instantiating the editor. It does not include the extensions these extensions added. `generateJSON` will process the provided extensions and add extensions according to their `addExtensions` field. Before we used `editor.editorManager.extensions` which includes all extensions used in the editor including those added by other extensions. This lead to `generateJSON` adding the same extensions again which resulted in a warning. Signed-off-by: Max <[email protected]>
- Loading branch information