nodebb-plugin-composer-quill
Quill Composer for NodeBB
Last updated 5 months ago .
· Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nodebb-plugin-composer-quill 
SYNC missed versions from official npm registry.

Quill composer for NodeBB

This plugin activates the WYSIWYG Quill composer for NodeBB. Please ensure that:

  • The markdown plugin is disabled (see note below, re: markdown)
  • Any other composers (i.e. nodebb-plugin-composer-default) are disabled
  • Warning This composer saves its data in a unique format that is only compatible with Quill. If you switch to Quill, any posts made with Quill cannot be migrated back to Markdown.

For developers

You may encounter a LESS build error when this module is not installed via npm:

error: [build] Encountered error during build step
Error: FileError: './quill/dist/quill.bubble.css' wasn't found. Tried - /some,/directories,/here
/quill.bubble.css,quill/dist/quill.bubble.css in /path/to/nodebb/node_modules/nodebb-plugin-composer-quill/static/less/quill.less on line 2, column 1:

This is due to npm/yarn's flattening of dependencies. Quill expects these css files to be at root level, so to get around this:

cd /path/to/nodebb/node_modules && ln -s nodebb-plugin-composer-quill/node_modules/quill .

Migration concerns

nodebb-plugin-composer-default/nodebb-plugin-markdown

If you used the default composer, chances are you also had the markdown plugin active. If that is the case, any posts made before the switch are still in markdown format, and are not saved into html (in a manner than quill can digest). A migrator tool has been bundled with v1.1 of the Quill Composer, which you can use to migrate posts in markdown and html into the Quill-compatible format.

nodebb-plugin-redactor

Your posts should automatically work with Quill. Redactor saves HTML into the database, and the Quill plugin is set up so it can digest that html and backport it to Quill's internal format if the post is edited. That said, when you edit a post originally made in Redactor, you'll see the html tags, which are now extraneous. You can remove them as part of your edit. Alternatively, you can use the bundled migrator to convert posts to the Quill-compatible format.

Contributors Welcome

This plugin is considered production ready. Please report any bugs to our issue tracker and we will take a look.

If you'd like to look at the documentation and add a feature, or take a look at the GitHub Issues and do something from there then please do. All pull requests lovingly reviewed.

Screenshots

Desktop

Desktop

Mobile

Mobile

Current Tags

  • 3.0.1                                ...           latest (7 days ago)

60 Versions

  • 1.0.0                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.5                                ...           2 years ago
  • 1.1.6                                ...           2 years ago
  • 1.1.7                                ...           2 years ago
  • 1.1.8                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.4                                ...           2 years ago
  • 1.2.5                                ...           2 years ago
  • 1.2.6                                ...           2 years ago
  • 1.2.7                                ...           2 years ago
  • 1.2.8                                ...           2 years ago
  • 1.2.9                                ...           2 years ago
  • 1.2.10                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.4.1                                ...           2 years ago
  • 1.4.2                                ...           2 years ago
  • 1.4.3                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.2                                ...           2 years ago
  • 1.5.3                                ...           2 years ago
  • 1.5.4                                ...           2 years ago
  • 1.5.5                                ...           2 years ago
  • 1.5.6                                ...           2 years ago
  • 1.5.7                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.6.1                                ...           2 years ago
  • 1.6.2                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.7.1                                ...           2 years ago
  • 1.7.2                                ...           2 years ago
  • 1.7.3                                ...           2 years ago
  • 1.7.4                                ...           a year ago
  • 1.7.5                                ...           a year ago
  • 1.7.6                                ...           a year ago
  • 1.8.0                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.1.0 [deprecated]           ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.2                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.2.1                                ...           a year ago
  • 2.2.2                                ...           a year ago
  • 2.2.3                                ...           a year ago
  • 2.2.4                                ...           a year ago
  • 2.2.5                                ...           9 months ago
  • 2.2.6                                ...           8 months ago
  • 2.3.0                                ...           7 months ago
  • 2.3.1                                ...           5 months ago
  • 3.0.0                                ...           a month ago
  • 3.0.1                                ...           7 days ago
Maintainers (2)
Dependencies (8)
Dev Dependencies (7)

Copyright © npmmirror.com | 浙ICP备15033595号-63 |