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

Does not work inside RichTextEditor if validation of another property failed #56

Open
lorenzulrich opened this issue Jan 14, 2024 · 2 comments

Comments

@lorenzulrich
Copy link
Contributor

If you use a property with the RichTextEditor, you cannot set a link because the link editor modal is behind the Rich Text Editor.

How to test

  • Configure a RTE property:
    foo:
      type: string
      ui:
        label: 'Foo'
        reloadIfChanged: true
        inspector:
          group: foo
          editor: 'Neos.Neos/Inspector/Editors/RichTextEditor'
          editorOptions:
            linking:
              'Sitegeist.Archaeopteryx':
                linkTypes:
                  'Sitegeist.Archaeopteryx:Node':
                    allowedNodeTypes: ['My.Site:Document.Mixin.LinkablePage']
  • Open the RTE
  • Try adding a link
@lorenzulrich
Copy link
Contributor Author

I just realized that this only fails under one condition: A validation of another property failed in the inspector.

So, normally it works. But if validation of another property failed and you open the RichTextEditor and then you want to add a link, the Link Editor is behind the RichTextEditor:

image

I'm mentioning @mhsdesign here because he once mentioned issues with automatically triggered validation.

@lorenzulrich lorenzulrich changed the title Does not work inside RichTextEditor Does not work inside RichTextEditor if validation of another property failed Jan 20, 2024
@mhsdesign
Copy link
Collaborator

Thanks this is interesting. It seems also the pending change overlay was triggered. So a few things seem of here ^^

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

2 participants