diff --git a/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs b/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs index 3f86bbc748..135df9ecb3 100644 --- a/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/text/editor.cljs @@ -6,7 +6,7 @@ (ns app.main.ui.workspace.shapes.text.editor (:require - ["draft-js" :as draft] + ["@penpot/draft-js" :as draft] [app.common.data :as d] [app.common.data.macros :as dm] [app.common.geom.point :as gpt] diff --git a/frontend/vendor/draft-js/index.js b/frontend/vendor/draft-js/index.js index a3712864c6..23bd20af01 100644 --- a/frontend/vendor/draft-js/index.js +++ b/frontend/vendor/draft-js/index.js @@ -16,7 +16,9 @@ export const { RichTextEditorUtil, SelectionState, convertFromRaw, - convertToRaw + convertToRaw, + EditorBlock, + Editor } = pkg; import DraftPasteProcessor from 'draft-js/lib/DraftPasteProcessor.js';