Skip to content

Including Editor in XML-View #2

Description

@SCHMIECHINHO

Hi,

i'm facing an issue until including editor in XML-View. With the Examples in my Project it works fine.

In my index.html i added
sap.ui.localResources("openui5"); jQuery.sap.require("openui5.ckeditor");

In my Fragment of XML-View
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:f="sap.ui.layout.form" xmlns:l="sap.ui.layout" xmlns:ck="openui5">

and then the control
<openui5:CKEditor value="{Text}" editable="{Editable}" toolbar="myToolbar" />

But then i get the error in console
Uncaught TypeError: u.getMetadata is not a function
at k (eval at evalModuleStr (sap-ui-core.js:174), :570:2855)
at h (eval at evalModuleStr (sap-ui-core.js:174), :570:2754)
at g (eval at evalModuleStr (sap-ui-core.js:174), :570:2497)
at Q (eval at evalModuleStr (sap-ui-core.js:174), :570:5485)
at P (eval at evalModuleStr (sap-ui-core.js:174), :570:5101)
at Q (eval at evalModuleStr (sap-ui-core.js:174), :570:5204)
at P (eval at evalModuleStr (sap-ui-core.js:174), :570:5101)
at k (eval at evalModuleStr (sap-ui-core.js:174), :570:6172)
at h (eval at evalModuleStr (sap-ui-core.js:174), :570:2754)
at a (eval at evalModuleStr (sap-ui-core.js:174), :570:1331)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions