mui-rte icon indicating copy to clipboard operation
mui-rte copied to clipboard

linkPopover is not taken when using a Theme.

Open cbazza opened this issue 3 years ago • 0 comments

Checklist

Description

Try adding a custom linkPopover on the current sample: https://github.com/niuware/mui-rte/blob/master/examples/theme/index.tsx

Object.assign(defaultTheme, {
    overrides: {
        MUIRichTextEditor: {
            root: {
                backgroundColor: "#ebebeb",
            },
            container: {
                display: "flex",
                flexDirection: "column-reverse"
            },
            editor: {
                backgroundColor: "#ebebeb",
                padding: "20px",
                height: "200px",
                maxHeight: "200px",
                overflow: "auto"
            },
            toolbar: {
                borderTop: "1px solid gray",
                backgroundColor: "#ebebeb"
            },
            placeHolder: {
                backgroundColor: "#ebebeb",
                paddingLeft: 20,
                width: "inherit",
                position: "absolute",
                top: "20px"
            },
            anchorLink: {
                color: "#333333",
                textDecoration: "underline"
            },
///////
           linkPopover: {
               padding: '32px',
           },
///////
        }
    }
})

cbazza avatar Mar 08 '21 20:03 cbazza