Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
nodejs-modules
vue-quill-minimum
Commits
21a22847
Commit
21a22847
authored
Oct 15, 2019
by
Jörg Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `focus()` component method
See
dmx-platform/dmx-platform#301
parent
6604465f
Pipeline
#8221
passed with stage
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/Quill.vue
src/Quill.vue
+5
-0
No files found.
src/Quill.vue
View file @
21a22847
...
...
@@ -39,9 +39,14 @@ export default {
},
methods
:
{
setHTML
(
html
)
{
const
delta
=
this
.
quill
.
clipboard
.
convert
(
html
)
this
.
quill
.
setContents
(
delta
)
},
focus
()
{
this
.
quill
.
focus
()
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment