.js file
import { LightningElement, api, track } from 'lwc';
export default class RichTextExample extends LightningElement {
@api label
@api placeholder
@api variant
@api auraId
@api value
@api valid
@api blur
formats=['size', 'bold', 'italic', 'underline',
'strike', 'list', 'indent', 'align',
'clean', 'table', 'header', 'color',
'code', 'code-block','script', 'link', 'blockquote', 'background'];
}
.html
<template>
<lightning-input-rich-text
aura:id={auraId}
label={label}
value={value}
placeholder={placeholder}
valid={valid}
onblur={blur}
formats={formats}
variant={variant}
>
</lightning-input-rich-text>
</template>
Passing data to LWC from my Aura Component:
The it looks like formats, variant do render on page load, but the Placeholder, label, and value do until I click on the text area. On Page Load:<c:testRichTextEditor aura:id="description"
label="Description"
value=""
placeholder="Enter the full description of the issue."
valid="{!v.description_valid}"
blur="{!c.handleDescriptionBlur}"
variant="bottom-toolbar"
></c:testRichTextEditor>
Hi everyone,
I have a query about static value calculation in HTML.
class="amntWidth-150 paddbor">0
class="countWidth-118 paddbor">194
class="avrgSizeWidth-150 paddbor">237,239.48
These are my values in HTML. I want another similar value. and I want to show this total each separately and show on separate columns how can we do, please