Last active
December 13, 2021 13:47
-
-
Save Frelseren/4221ac69569bd1b7430424929973ee7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { api } from 'lwc' | |
import LightningInputRichText from 'lightning/inputRichText'; | |
export default class CustomInput extends LightningInputRichText { | |
@api | |
getContent() { | |
console.log('get content'); | |
return this.value; | |
} | |
@api | |
setCustomContent(value) { | |
console.log('set content'); | |
this.value = value; | |
} | |
constructor() { | |
super(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment