-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isolated checkbox fixed issue #51 #183
Conversation
Hi thanks for your PR! Can you shortly tell me why you think that the master branch is broken? |
src/components/editor.vue
Outdated
@@ -123,7 +123,9 @@ export default { | |||
content: this.getContent, | |||
autofocus: true, | |||
onUpdate: ({ editor }) => { | |||
this.setContent(editor.getHTML()) | |||
var aux = editor.getHTML(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please use const
and rename the variable to data
?
Final fixWe solved the issue in the master branch, we already fixed the bug that blocks the popup after writing the slash command on the editor PR: #185 IMPORTANT: PR #185 fixing slash command must be merged before to see this funcionality working on new installations Video with the issue solved: Grabacion.de.pantalla.2022-10-09.a.las.13.23.01.mov |
@@ -123,7 +123,9 @@ export default { | |||
content: this.getContent, | |||
autofocus: true, | |||
onUpdate: ({ editor }) => { | |||
this.setContent(editor.getHTML()) | |||
const data = editor.getHTML(); | |||
this.editor.commands.clearContent() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any news on this? |
Hey, I'd close this PR. Please open a new PR once you continue on this. Thanks in advance :) |
We solved the problem about the isolated Checkboxes #51 between the week days, as you can see in the following videos.
Before solving the problem:
Grabacion.de.pantalla.2022-10-08.a.las.15.24.12.mov
After solving the problem:
Grabacion.de.pantalla.2022-10-08.a.las.15.26.16.mov
Bugfix description:
We assing the getEditor() value into a new variable (aux) and then we clear the editor before assigning. After that the editor object was set it with the new variable value (aux). Doing this the Checkboxes between week days this are perfectly isolated.