@cldcvr/flow-md-editor
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

Flow MD Editor

The Flow md editor is built on the Flow design framework (website / github) using Monaco Editor

Installation

1️⃣ Install flow code editor dependency

npm i --save @cldcvr/flow-md-editor

Note: after installation, re-start your application.


2️⃣ Import flow-md-editor into your project

Paste the below snippet in your project and add your application startup/runtime code to it.

import "@cldcvr/flow-core";
import "@cldcvr/flow-md-editor";

3️⃣ For a typescript enabled project (optional)

Note: After adding, re-start your application. Make sure you are using version >4.5

For Vue 3: Copy paste below import types in your main.ts file.

import "@cldcvr/flow-md-editor/dist/types/vue3";
For Vue 2

Copy paste below import types in your main.ts file.

import "@cldcvr/flow-md-editor/dist/types/vue2";
For React

React: Include react type in tsconfig.json file like below.

"include": ["src", "./node_modules/@cldcvr/flow-md-editor/dist/types/react.ts"]

/@cldcvr/flow-md-editor/

    Package Sidebar

    Install

    npm i @cldcvr/flow-md-editor

    Weekly Downloads

    10

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    478 kB

    Total Files

    20

    Last publish

    Collaborators

    • shubhamseervi
    • vikas-cldcvr
    • nikhilverma