Manohar Kumar Singh

Results 5 comments of Manohar Kumar Singh

body { background-color: lightblue; } h1 { color: white; text-align: center; } p { font-family: verdana; font-size: 20px; } My First CSS Example This is a paragraph.

` body { background-color: lightblue; } h1 { color: white; text-align: center; } p { font-family: verdana; font-size: 20px; } My First CSS Example This is a paragraph.`

i am using above code but style tag is not supporting, it is automatically removing tag.

import { Button, ButtonGroup, Card, Classes, FormGroup, IButtonProps, Menu, MenuItem, Popover, Position, Tooltip } from "@blueprintjs/core"; import { IconNames } from "@blueprintjs/icons"; import { IWidgetProps } from "decorator-form"; import {...

import { Parser as HtmlToReactParser } from "html-to-react"; import DOMPurify from "dompurify"; const allowedNodes = ["div", "table", "style", "img"]; const styleObjToCSS = styleObj => Object.keys(styleObj).reduce((acum, style) => { return (style...