Socket
Book a DemoInstallSign in
Socket

@aamuapp/quill-resize-module

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aamuapp/quill-resize-module

A module for Quill rich text editor to allow images to be resized.

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
4
Maintainers
0
Weekly downloads
 
Created
Source

QUILL-RESIZE-MODULE

A module for Quill rich text editor to allow images to be resized.

Usage

Webpack/ES6

npm install @galaxis/quill-resize-module

import Quill from "quill";
import ResizeModule from "@galaxis/quill-resize-module";

Quill.register("modules/resize", ResizeModule);

const quill = new Quill(editor, {
  modules: {
    resize: {
      locale: {
        //By default:
        // floatLeft: "Left",
        // floatRight: "Right",
        // center: "Center",
        // restore: "Default",
        // altTip: "Press and hold alt to lock ratio!",
        // inputTip: "Press enter key to apply change!",
      },
    },
  },
});

Keywords

quill

FAQs

Package last updated on 26 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts