Commit 853212dd authored by chris's avatar chris
Browse files

remove check of content

parent 5919b593
......@@ -108,7 +108,7 @@ class Wax extends React.Component {
return onSave(convertedSource)
}
cleaup(content) {
cleanup(content) {
var wrapper = document.createElement('div')
wrapper.innerHTML = content
......@@ -203,10 +203,10 @@ class Wax extends React.Component {
this.configurator = new Configurator().import(config)
this.configurator.addImporter('html', Importer)
this.configurator.menus = menus
const cleaupContent = this.cleaup(content)
const editorSession = this.createSession(cleaupContent)
const cleanupContent = this.cleanup(content)
const editorSession = this.createSession(content)
const onClose = this.onClose
// TODO -- make this configurable
const containerId = 'main'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment