This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

开始重构meditor

old
宇天 2020-02-03 23:56:53 +08:00
parent c3ebcf9830
commit 29dff0d99c
1 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<div class="meditor"> <div class="meditor">
<section class="toolbar"></section> <section class="toolbar"></section>
<textarea cols="30" rows="10"></textarea> <textarea cols="30" rows="10"></textarea>
<wc-markdown></wc-markdown> <wc-markd></wc-markd>
</div> </div>
</template> </template>
@ -17,7 +17,13 @@ export default class Meditor {
} }
__init__() { __init__() {
// /* render */ /* render */
var elem = this.root.children[1]
this.__TOOL__ = elem.children[0]
this.__EDITOR__ = elem.children[1]
this.__VIEW__ = elem.children[2]
} }
} }
</script> </script>