diff --git a/src/containers/paint-editor-wrapper.jsx b/src/containers/paint-editor-wrapper.jsx index dc78c1bdb9ad5ef9c83913aae24cdb52d23f6941..c90f5e6f2474e1e1ca9e2558935b0d92dfc68e9b 100644 --- a/src/containers/paint-editor-wrapper.jsx +++ b/src/containers/paint-editor-wrapper.jsx @@ -3,6 +3,7 @@ import React from 'react'; import bindAll from 'lodash.bindall'; import VM from 'scratch-vm'; import PaintEditor from 'scratch-paint'; +import {inlineSvgFonts} from 'scratch-svg-renderer'; import {connect} from 'react-redux'; @@ -52,6 +53,7 @@ class PaintEditorWrapper extends React.Component { image={vm.getCostume(selectedCostumeIndex)} onUpdateImage={this.handleUpdateImage} onUpdateName={this.handleUpdateName} + fontInlineFn={inlineSvgFonts} /> ); }