1

I tried to use the lightning-input-rich-text in a sample component as described here: https://developer.salesforce.com/docs/component-library/bundle/lightning-input-rich-text/documentation But unfortunately I cannot get it working. Not in webcomponents.dev, it shows the following error: Error on webcomponents.dev

And also not on lwc playground. It shows the following error. enter image description here

Here is the code of the LWC:

<template>
        <lightning-input-rich-text
        value={myVal}>
    </lightning-input-rich-text>
</template>

And this is the code of the controller:

import { LightningElement, track } from 'lwc';

export default class App extends LightningElement {
      get myVal() {
        return '**Hello!**';
    }
}

Can anybody help me?

1
0

Was simply not working in a Playground.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.