More information (How it works)

Created on 22 April 2024, 7 months ago
Updated 28 May 2024, 6 months ago

Problem/Motivation

I am trying to use visual editor with a drupal backend using GraphQL and jwt for authenticationa and a frontend running in next.js. I have made the preview work, that part seems to be working, I have also used https://github.com/octahedroid/drupal-decoupled/tree/main/packages/drupa... to wrap each paragraph in this component (I assume that kind of pings drupal in a way to open the right paragraph form).

When I open the node (a landing page node with paragraphs) I can see the preview and the row is clickable, but when I click it doesn't do anything and errors here https://git.drupalcode.org/project/visual_editor/-/blob/1.0.x/js/visual_... basically this input (defined above) is not on the page, I guess because the user is authenticatd in Drupal but not on the frontend, becuase we use jwt the user is not automatically logged in on the frontend when logged in drupal.

Does the module rely on a specific authentication method? and any further information I would love to try it further and see what I could do with it ;)

Great work, love the idea and the activity on slack =)

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.0

Component

Documentation

Created by

πŸ‡΅πŸ‡ΉPortugal joaogarin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024