How to use the @dhis2/d2-ui-rich-text.convertCtrlKey function in @dhis2/d2-ui-rich-text

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 });
    };

@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