This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@modusoperandi/licit-customstyles

0.1.0 • Public • Published

Customstyle ProseMirror Plugin For Licit

Build

Dependency

  • Build licit-doc-attrs-step and copy modusoperandi-licit-doc-attrs-step-0.0.1.tgz to the root folder.

Commands

  • npm install

  • npm pack

To use this in Licit

Run these commands before npm install.

Put the modusoperandi-licit-customstyles-0.0.1-0.tgz file in your project location, open command prompt and run:

  • npm install modusoperandi-licit-customstyles-0.0.1-0.tgz

Include plugin in licit component

  • import CustomstylePlugin

  • add CustomstylePlugin instance in licit's plugin array


import {CustomstylePlugin} from  '@modusoperandi/licit-customstyles';

Expecting a CustomStyleRuntime to configure the style service to licit expects methods like saveStyle(),getStyles(),renameStyle() and removeStyle(). Please refer *licit\client\CustomStyleRuntime.js* for getting more detailed idea.

import CustomStyleRuntime from  './CustomStyleRuntime';
const styleRuntime = new CustomStyleRuntime();
const plugins = [new CustomstylePlugin(styleRuntime)]

ReactDOM.render(<Licit docID={0} plugins={plugins}/>
  

Dependents (0)

Package Sidebar

Install

npm i @modusoperandi/licit-customstyles

Weekly Downloads

0

Version

0.1.0

License

none

Unpacked Size

3.66 MB

Total Files

300

Last publish

Collaborators

  • mobuilder
  • spencer.rich
  • grodgers