[DOCU-2512] Wrong import statement in code example on "Magnolia Vue Editor" page Created: 12/Jul/22  Updated: 13/Jul/22  Resolved: 13/Jul/22

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Martin Haderka Assignee: Martin DrĂ¡pela
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2022-07-12 at 13.50.12.png    
Documentation page URL: https://docs.magnolia-cms.com/headless/spa-development/magnolia-front-end-helpers-for-SPA/magnolia-vue-editor.html#_editorcontexthelper_iniframe

 Description   

On page for Magnolia Vue Editor there are several examples on how to use the package.

In EditorContextHelper.inIframe section: The first line in the example is an import statement from @magnolia/react-editor, which should be @magnolia/vue-editor as the documentation is for Vue Editor. (Notice import statement in previous code example)

Expected

import { EditorContextHelper } from '@magnolia/vue-editor';

Actual

import { EditorContextHelper } from '@magnolia/react-editor';


Generated at Mon Feb 12 01:27:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.