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

When I hit the "Enter" button while typing in TinyMCE editor, the focus disappears #75

Closed
5 of 6 tasks
rotimi-best opened this issue Dec 4, 2023 · 3 comments
Closed
5 of 6 tasks
Labels
bug Something isn't working frontend good first issue Good for newcomers

Comments

@rotimi-best
Copy link
Owner

Issue Description

When I hit the "Enter" button while typing in TinyMCE editor, the focus goes to the current tab item of the page

Image of Tab focus

Screenshot 2023-12-04 at 09 18 36

Video

https://jam.dev/c/e644703a-e464-4c6f-af54-34fce718580f

Steps to Reproduce

  • Login into the dashboard
  • Create a course
  • Create a lesson
  • Create an exercise for that lesson
  • Start typing in the description of that exercise
  • Then hit the "Enter Key"

Expected Behavior

It should go to a new line and the text cursor should remain in the editor

Current Behavior

The focus leaves the TinyMCE editor and goes to the current tab

Screenshots (optional)

No response

Operating System [e.g., Windows 10]

All

Browser [e.g., Chrome, Firefox]

Chrome

Environment (locally, production, selfhosted)

All

Please check the boxes that apply to this issue report.

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have provided steps to reproduce the issue.
  • I have included relevant environment information.
  • I have included any relevant screenshots.
  • I understand that this is a voluntary contribution and that there is no guarantee of resolution.
  • I want to work on creating a PR for this issue if approved
@rotimi-best rotimi-best added the bug Something isn't working label Dec 4, 2023
Copy link

github-actions bot commented Dec 4, 2023

Thanks for the issue, our team will look into it as soon as possible. If you would like to work on this issue, please wait for us to decide if it's ready. To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please reach out to us on Discord or follow up on the issue itself.
For full info on how to contribute, please check out our contributors guide

@tioluwani94
Copy link
Contributor

Hi @rotimi-best I'd like to work on this, but I see you have a PR #110 here to replace TinyMCE with Novel, should I still go ahead with this?

@rotimi-best
Copy link
Owner Author

Hi @tioluwani94, that was a very good observation 😃.

I will close this issue as we will be replacing TinyMCE with novel-svelte.

Thank you 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants