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

TinyMCE not displayed on new page #56

Open
beejay41 opened this issue Mar 15, 2021 · 4 comments
Open

TinyMCE not displayed on new page #56

beejay41 opened this issue Mar 15, 2021 · 4 comments

Comments

@beejay41
Copy link

When flex objects plugin is enabled and folder Pages is also enabled, the default editor is displayed on new pages. Once saved, TinyMCE appears as expected.
With folder Pages disabled in Flex objects, TinyMCE appears for new pages.

Grav: 1.7.7
Admin: 1.10.6
Flex objects: 1.0.3
TinyMCE: 1.3.3

@mnutze
Copy link

mnutze commented Mar 25, 2021

workaround
override in file {root}/system/blueprints/pages/default.yaml key form.fields.tabs.fields.content.fields.content with

type: tinymce
validate:
  type: textarea

instead of

type: markdown
validate:
  type: textarea

solves problem ... til next grav update

@beejay41
Copy link
Author

I added the following code to tinymce-editor.php:
public $features = [ 'blueprints' => 1000, ];
as per Cookbook > Admin Recipes 3.

This appears to solve the problem.

@dryland404
Copy link

Cookbook > Admin Recipes 3.

can you link to this page please > What cookbook ?

@beejay41
Copy link
Author

Cookbook > Admin Recipes 3.

can you link to this page please > What cookbook ?

The Grav website documentation:
https://learn.getgrav.org/17/cookbook/admin-recipes#add-a-custom-yaml-file

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