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

Editor on Pages, Layouts, Partials is not working OctoberCMS 2 version #119

Open
ibsellnet opened this issue Sep 13, 2021 · 2 comments
Open

Comments

@ibsellnet
Copy link

Hi,
I made update on OctoberCMS 2 version and editor works only inside Blogs.
I will try to make a debug by myself but also open this issue on your side maybe you already have a quick fix.
Thank you.

@webBook-cz
Copy link

It is strange workaround, but if you install translate plugin, you can change editor in Blog, then

@mkinternet
Copy link

mkinternet commented Apr 14, 2022

Quick fix by Sam Georges

Replace

$field->config['type'] = $field->config['widget'] = $editor;

With $field->type = $field->config['widget'] = $editor;

And

$field->config['type'] = $field->config['widget'] = 'AnandPatel\WysiwygEditors\FormWidgets\Editor';

With $field->type = $field->config['widget'] = 'AnandPatel\WysiwygEditors\FormWidgets\Editor';

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

No branches or pull requests

3 participants