Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

CarlosPovedaC
Copy link

@CarlosPovedaC CarlosPovedaC commented Oct 8, 2022

We solved the problem about the isolated Checkboxes #51 between the week days, as you can see in the following videos.

Master branch is broken and u can't add checkboxes so we moved to the v1.4.13 release branch(tag) and we solved there.

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.

@CarlosPovedaC CarlosPovedaC changed the title Isolated checkbox fixed issue#51 Isolated checkbox fixed issue #51 Oct 8, 2022
@lostdesign
Copy link
Owner

Hi thanks for your PR! Can you shortly tell me why you think that the master branch is broken?

@@ -123,7 +123,9 @@ export default {
content: this.getContent,
autofocus: true,
onUpdate: ({ editor }) => {
this.setContent(editor.getHTML())
var aux = editor.getHTML();
Copy link
Owner

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?

@CarlosPovedaC
Copy link
Author

Final fix

We 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()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bildschirmfoto 2022-10-09 um 14 15 39

Using the keyboard rather than the mouse breaks the slash command panel close.

@lostdesign
Copy link
Owner

Any news on this?

@lostdesign
Copy link
Owner

Hey, I'd close this PR. Please open a new PR once you continue on this. Thanks in advance :)

@lostdesign lostdesign closed this Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants