access window.PostUtils
This commit is contained in:
parent
33eb1385d2
commit
390fab485d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const {formatText, messageHtmlToComponent} = window['post-utils'];
|
||||
const {formatText, messageHtmlToComponent} = window.PostUtils;
|
||||
|
||||
export default class PostType extends React.PureComponent {
|
||||
static propTypes = {
|
||||
|
|
Reference in a new issue