Skip to content

Commit

Permalink
example: 🍱 update simple usage demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Leecason committed Mar 28, 2020
1 parent 06df54d commit 877716b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/views/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default {
justify-content: center;
margin-top: 50px;
margin-left: 10vw;
width: 600px;
width: 650px;
.router-link {
color: #fff;
Expand Down
3 changes: 2 additions & 1 deletion examples/views/Simple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<el-tiptap
:extensions="extensions"
:content="content"
:spellcheck="false"
placeholder="Write something ..."
/>
</div>
Expand Down Expand Up @@ -62,7 +63,7 @@ export default {
new History(),
],
content: '<p><strong>Element Tiptap Editor</strong> is a WYSIWYG rich-text editor using&nbsp;<a href="https://github.com/scrumpy/tiptap" rel="noopener noreferrer nofollow">tiptap</a>&nbsp;and <a href="https://github.com/ElemeFE/element" rel="noopener noreferrer nofollow">element-ui</a>&nbsp;for Vue.js</p><p>that\'s easy to use, friendly to developers, fully extensible and clean in design.</p><p></p><p>I\'m continuously working to add in new features.</p><p data-text-align="center"><img src="https://i.ibb.co/nbRN3S2/undraw-upload-87y9.png" height="200"></p><blockquote><p>This demo is simple, switch tab for more features.</p><p>All demos source code: <a href="https://github.com/Leecason/element-tiptap/blob/master/examples/views/Index.vue" rel="noopener noreferrer nofollow">source code 🔗</a></p></blockquote>',
content: '<h2 data-text-align="center">Welcome To Element Tiptap Editor Demo</h2><p>🔥<strong>Element Tiptap Editor </strong>🔥is a WYSIWYG rich-text editor using&nbsp;<a href="https://github.com/scrumpy/tiptap" rel="noopener noreferrer nofollow">tiptap</a>&nbsp;and <a href="https://github.com/ElemeFE/element" rel="noopener noreferrer nofollow">element-ui</a>&nbsp;for Vue.js<image src="https://i.ibb.co/nbRN3S2/undraw-upload-87y9.png" alt="" title="" height="200" data-display="right"></image> that\'s easy to use, friendly to developers, fully extensible and clean in design.</p><p></p><p data-text-align="right">👉Click on the image to get started image features 👉</p><p></p><p><strong>Got questions or need help or feature request? </strong></p><p>🚀<strong>welcome to submit an <a href="https://github.com/Leecason/element-tiptap/issues" rel="noopener noreferrer nofollow">issue</a></strong> 😊</p><p>I\'m continuously working to add in new features.</p><p></p><blockquote><p>This demo is simple, switch tab for more features.</p><p>All demos source code: <a href="https://github.com/Leecason/element-tiptap/blob/master/examples/views/Index.vue" rel="noopener noreferrer nofollow">source code 🔗</a></p></blockquote>',
};
},
};
Expand Down

0 comments on commit 877716b

Please sign in to comment.