How to use @dhis2/d2-ui-rich-text - 4 common examples

To help you get started, we’ve selected a few @dhis2/d2-ui-rich-text examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dhis2 / d2-ui / examples / create-react-app / src / components / rich-text.js View on Github external
nativeKeyDown = e => {

        convertCtrlKey(e, this.setNativeInputVal);
    }
github dhis2 / d2-ui / packages / interpretations / src / components / Interpretation / NewInterpretationField.js View on Github external
onKeyDown = event => {
        convertCtrlKey(event, this.setNativeInputVal)
        this.setState({ text: this.textarea.current.value });
    };
github dhis2 / d2-ui / packages / interpretations / src / components / Comment / NewCommentField.js View on Github external
onKeyDown = event => {
        convertCtrlKey(event, this.setNativeInputVal)
        this.setState({ text: this.textarea.current.value });
    };
github dhis2 / d2-ui / examples / create-react-app / src / components / rich-text.js View on Github external
constructor(props) {
        super(props);
        this.nativeInputRef = React.createRef();
        this.nativeOutputRef = React.createRef();
        this.NativeMdParser = new ClassMdParser();
    }
    state = {

@dhis2/d2-ui-rich-text

Rich text components for DHIS2 in d2-ui

BSD-3-Clause
Latest version published 2 years ago

Package Health Score

53 / 100
Full package analysis

Similar packages