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

Font toggle isn't working in classics editor #876

Open
snullp opened this issue Feb 9, 2024 · 2 comments
Open

Font toggle isn't working in classics editor #876

snullp opened this issue Feb 9, 2024 · 2 comments

Comments

@snullp
Copy link
Contributor

snullp commented Feb 9, 2024

Describe the bug

Font toggle isn't working in classics editor

Steps to reproduce (if necessary)

  • Choose 'classics' as editor
  • Open the editor
  • Toggle fonts
  • Fonts aren't changing

Expected behavior

Fonts are set correspondingly

Application configuration

  • Multi-user
  • Database? [mysql]
  • Open registration? [yes]
  • Federation enabled? [yes]

Version or last commit: 0.15

@elkcityhazard
Copy link
Contributor

I was able to get the font toggle to work again but I wasn't able to create any content except for the title.

Uncaught TypeError: $writer.el is null

I looked at the template and it appears the div containing the ProseMIrror has been removed, and there is code related to prose mirror that has been removed.

Are you able to actually use the classic editor?

@snullp
Copy link
Contributor Author

snullp commented Feb 29, 2024

Yes I did the same experiments and realized basically the default js selector won't work as the prosa editor loads asynchronously. I couldn't fix it. In the end I did not use the editor because I realized it is not truly WYSIWYG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants