envov

Results 8 comments of envov

## solved this by queryElement ## looks like this ![image](https://user-images.githubusercontent.com/48908684/136877226-94bcb20b-0076-425e-ab73-c7aeb4a95c50.png) ### js ```js this.$nextTick(() => { // query bottom button const sButton = document.querySelector('div[data-direction="s"]'); // insert Html sButton.innerHTML = `双击修改文字`;...

clone下来自己跑就行了

```vue import PageBox from "c/PageBox"; import { Slate, Editable } from "slate-vue"; export default { components: { PageBox, Slate, Editable }, data() { return { value: [ { type: "h1",...

main.js ```js import Vue from "vue"; import 'babel-polyfill' import { SlatePlugin } from 'slate-vue'; import { withHistory } from 'slate-history' Vue.use(SlatePlugin, { editorCreated(editor) { withHistory(editor); }, }); ... ```

I hate `Class` keyword in Javascript, It implement functionality similar to functional programming `compose` or `pipe`, with more minimalist syntax It would be exciting if someone could step up and...

> So there was never an answer? Same problem here I've switched to [tiptap](https://github.com/ueberdosis/tiptap), Everything is nice

//成功代码 ```js import * as R from "ramda"; //重载vnodes的方式 const how2ReloadVnodes = that => R.compose(R.forEach(vnode => (vnode.context = that._self))); //用xxxxx组合slots const composeSlotsWith = how => fromWho => R.compose(R.map(how(fromWho)), R.values); export...

用script标签引入