commajs
Stickynotes
Installation
npm install commajs-stickynote
In commajs-core options add:
import CommaStickyNote from "commajs-stickynote";

options = {
    ...,                
    plugins: [
        ...,
        { pClass: CommaStickyNote }
    ]
}
Styling
Stickynotes are styled using the css file that you can find in the commajs-stickynote package.
Usage
To add a stickynote:
commajsInstance.InsertPluginAtSection(CommaStickyNote.GetName(), { bgColor: "", textColor: ""});
bgColor and textColor are both optional.
Default bgColor color is  (#ffefa1)
Default textColor is the current font color used by the user. This option is used to properly prepare a sticky note but users can still change text color using normal font color functionalities.
 
© 2020 Plugg, Inc. All rights reserved. Various trademarks held by their respective owners.
Plugg, Inc. - San Francisco, CA 94114, United States