Giter Site home page Giter Site logo

ludejun / quill-react-commercial Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 6.0 26.61 MB

A Quill component for React and more maturely. Support markdown, images upload, table, code...

Home Page: https://ludejun.github.io/quill-react-commercial/

TypeScript 2.00% JavaScript 96.21% Less 0.43% HTML 0.07% CSS 1.29%
editor image-upload quill react-component rich-text-editor table wysiwyg-editor

quill-react-commercial's People

Contributors

ludejun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

quill-react-commercial's Issues

Remix fails with 'document is not defined'

I am trying to use this in a remix app however, even if I use it wrapped in a ClientOnly component its still returns document is not defined. Is there something I have missed? Any help or guidance would be appreciated.

import RichTextEditor from "quill-react-commercial";
import "quill-react-commercial/lib/index.css";
import { ClientOnly } from "remix-utils/client-only";

const QuillCommercial = () => {
  if (typeof document === "undefined") {
    return null;
  }
  return (
    <ClientOnly fallback={<p>LOADING</p>}>
      {() => (
        <RichTextEditor
          modules={{ table: {}, codeHighlight: true, imageResize: true }}
        />
      )}
    </ClientOnly>
  );
};

export default QuillCommercial;

Image Resize does not work

I have not been able to get image resize to work correctly. As a user, if I select an embedded image I get the squares over the corner to indicate that it can be resized but when I attempt to click and drag them it just highlights the content and does not resize the image.

image

image

image

great job

正急需react富文本,感谢大佬倾情付出,great

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.