vue-editify 0.1.7 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
package/examples/App.vue CHANGED
@@ -5560,7 +5560,14 @@ export default {
5560
5560
  name: 'App',
5561
5561
  data() {
5562
5562
  return {
5563
- value: ``,
5563
+ value: `<pre data-editify-element="1"><span class="hljs-keyword"><span>const</span></span><span> a = </span><span class="hljs-keyword"><span>new</span></span><span> </span><span class="hljs-title class_"><span>Block</span></span><span>()</span></pre><p><br></p>`,
5564
+ // toolbarConfig: {
5565
+ // codeBlock: {
5566
+ // languages: {
5567
+ // options: [{ label: '自动', value: '' }, 'javascript']
5568
+ // }
5569
+ // }
5570
+ // },
5564
5571
  menuConfig: {
5565
5572
  mode: 'default',
5566
5573
  sequence: {
@@ -5617,9 +5624,9 @@ export default {
5617
5624
  }
5618
5625
  },
5619
5626
  mounted() {
5620
- setTimeout(() => {
5621
- this.value = this.$refs.bigData.innerHTML
5622
- }, 500)
5627
+ // setTimeout(() => {
5628
+ // this.value = this.$refs.bigData.innerHTML
5629
+ // }, 500)
5623
5630
  },
5624
5631
  methods: {
5625
5632
  updateview() {