0.8.20 • Published 3 years ago

summernote v0.8.20

Weekly downloads
59,577
License
MIT
Repository
github
Last release
3 years ago

Summernote

Super simple WYSIWYG Editor.

Build Status npm version Coverage Status

Summernote

Summernote is a JavaScript library that helps you create WYSIWYG editors online.

Home page: https://summernote.org

Why Summernote?

Summernote has a few special features:

  • Paste images from clipboard
  • Saves images directly in the content of the field using base64 encoding, so you don't need to implement image handling at all
  • Simple UI
  • Interactive WYSIWYG editing
  • Handy integration with server
  • Supports Bootstrap 3, 4 and 5 integrities
  • Lots of plugins and connectors provided together

Installation and dependencies

Summernote is built on jQuery.

1. Include JS/CSS

Include the following code in the <head> tag of your HTML:

<!-- include libraries(jQuery, bootstrap) -->
<script type="text/javascript" src="//code.jquery.com/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" />
<script type="text/javascript" src="cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script>

<!-- include summernote css/js-->
<link href="summernote-bs5.css" rel="stylesheet">
<script src="summernote-bs5.js"></script>

2. Target a element

Then place a div tag somewhere in the body tag. This element will be replaced with the summernote editor.

<div id="summernote">Hello Summernote</div>

3. Summernote it!

Finally, run this script after the DOM is ready:

$(document).ready(function() {
  $('#summernote').summernote();
});

For more examples, please visit to homepage.

API

code - get the HTML source code underlying the text in the editor:

var html = $('#summernote').summernote('code');

For more detail about API, please refer to document.

Warning - code injection

The code view allows the user to enter script contents. Make sure to filter/sanitize the HTML on the server. Otherwise, an attacker can inject arbitrary JavaScript code into clients.

For contributing

https://github.com/summernote/summernote/blob/develop/.github/CONTRIBUTING.md

Contacts

Testing powered by

BrowserStack Open-Source Program

License

Summernote may be freely distributed under the MIT license.

reproduction-isapp14-vivesintabaco-serveradminlte-3-rtlvuerd-plugin-summernote@infinitebrahmanuniverse/nolb-sum@everything-registry/sub-chunk-2847@saintryu/react-summernote@perolasoft/admin-lte@reqres/bootstraprich-react-editorstislastisla-templaterummernotestemy-admin-ltereact-rich-text-editorreact-summernotereact-summernote-personalreact-summernote-personal2themekittenogy@steedos/creator-serversummernote-list-of-linkssummernote-brickssummernote-cleanersummernote-code-cleanersummernote-editor-vue3summernote-image-upload@stisla/distbs-themeember-summernote-liteember-upf-utilsember-cli-summernoteember-cli-summernote-editore-ui-reactfcloudfh-basic-controls@dsvllc/summernote-image-attributes@edenjs/cmsng2-summernote-angular4ngx-admuing2-alt-summernote@emericklaw/summernote-cleanerjnexhpanel-cssknovator-react-summernotepl-claims-hubangular-formangular_es6_webpack_starterbackoffice-frontvue-summernotevue-summernote-slimbbsf-controlsamber-summernote-17amber-summernote-wrapperadmin-lte-rtl-spadmin-lte-with-rtladmin-lte-custom-reactwavemaker-ng-runtime-new@uday_test/wm_codegen_angular_appab-react-summernotets-themeabp-zero-template1@grigorov-it/mazer@hjgs/summernote-image-attributes@humanscape/react-summernote-bs4@fynx.finux/ngx-summernote-app@beratkara/summernote-words-length@bidvine/react-summernotewswg-for-zipifyway2web-summernote@charescape/mazer-fork-ost@kit-data-manager/metadata-editor@bnsights-test/test-controls@bnsights/bbsf-controlsbnsights-control-librarybnsights-librarybnsights-library-pageswm-ng-webcomponentwm_codegen_angular_appcamel-testing-first@corpecca/qp-npmbright-vue-componentszckj_yxt
0.8.20

3 years ago

0.8.19

3 years ago

0.8.18

4 years ago

0.8.17

4 years ago

0.8.16

4 years ago

0.8.15

4 years ago

0.8.14

4 years ago

0.8.13

4 years ago

0.8.12

5 years ago

0.8.11

5 years ago

0.8.10

6 years ago

0.8.9

6 years ago

0.8.8

7 years ago

0.8.7

7 years ago

0.8.6

7 years ago

0.8.5

7 years ago

0.8.4

7 years ago

0.8.3

7 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago

0.7.3

8 years ago

0.7.2

8 years ago

0.7.1

8 years ago

0.7.0

8 years ago

0.6.16

9 years ago

0.6.15

9 years ago

0.6.14

9 years ago

0.6.13

9 years ago

0.6.12

9 years ago

0.6.11

9 years ago

0.6.10

9 years ago

0.6.9

9 years ago

0.6.8

9 years ago

0.6.7

9 years ago

0.6.6

9 years ago

0.6.5

9 years ago

0.6.1

9 years ago

0.6.0-ga

9 years ago

0.5.9

9 years ago

0.6.0

9 years ago