2

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

1 Answer 1

1

Was simply not working in a Playground.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .