All Projects → summernote → Summernote

summernote / Summernote

Licence: mit
Super simple WYSIWYG editor

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to Summernote

Sceditor
A lightweight HTML and BBCode WYSIWYG editor
Stars: ✭ 503 (-95.2%)
Mutual labels:  wysiwyg, wysiwyg-editor
Angular Froala Wysiwyg
Angular 4, 5, 6, 7, 8 and 9 plugin for Froala WYSIWYG HTML Rich Text Editor.
Stars: ✭ 696 (-93.36%)
Mutual labels:  wysiwyg, wysiwyg-editor
Ckeditor4 Releases
Official distribution releases of CKEditor 4.
Stars: ✭ 511 (-95.13%)
Mutual labels:  wysiwyg, wysiwyg-editor
Ckeditor5
Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
Stars: ✭ 5,406 (-48.45%)
Mutual labels:  wysiwyg, wysiwyg-editor
Nicedit
WYSIWYG editor
Stars: ✭ 86 (-99.18%)
Mutual labels:  wysiwyg, wysiwyg-editor
Wysiwyg Editor
The next generation Javascript WYSIWYG HTML Editor.
Stars: ✭ 4,756 (-54.64%)
Mutual labels:  wysiwyg, wysiwyg-editor
Simditor
An Easy and Fast WYSIWYG Editor
Stars: ✭ 4,926 (-53.02%)
Mutual labels:  wysiwyg, wysiwyg-editor
Slate Plugins
🔌 Next-gen slate plugins
Stars: ✭ 399 (-96.19%)
Mutual labels:  wysiwyg, wysiwyg-editor
Grav Plugin Tinymce Editor
TinyMCE Editor Integration Plugin for Grav
Stars: ✭ 44 (-99.58%)
Mutual labels:  wysiwyg, wysiwyg-editor
Megadraft
Megadraft is a Rich Text editor built on top of Facebook's Draft.JS featuring a nice default base of components and extensibility
Stars: ✭ 982 (-90.64%)
Mutual labels:  wysiwyg, wysiwyg-editor
Element Tiptap
🌸A modern WYSIWYG rich-text editor using tiptap and Element UI for Vue.js
Stars: ✭ 481 (-95.41%)
Mutual labels:  wysiwyg, wysiwyg-editor
Tiptap
The headless editor framework for web artisans.
Stars: ✭ 13,629 (+29.97%)
Mutual labels:  wysiwyg, wysiwyg-editor
Vue Wysiwyg
A lightweight WYSIWYG HTML editor for Vue.js
Stars: ✭ 471 (-95.51%)
Mutual labels:  wysiwyg, wysiwyg-editor
Tiptap Vuetify
Vuetify editor. Component simplifies integration tiptap editor with vuetify.
Stars: ✭ 498 (-95.25%)
Mutual labels:  wysiwyg, wysiwyg-editor
Angular Editor
A simple native WYSIWYG editor component for Angular 6 -10+
Stars: ✭ 428 (-95.92%)
Mutual labels:  wysiwyg, wysiwyg-editor
Wysiwyg.js
wysiwyg contenteditable editor (minified+compression: 6kb)
Stars: ✭ 520 (-95.04%)
Mutual labels:  wysiwyg, wysiwyg-editor
Trumbowyg
A lightweight and amazing WYSIWYG JavaScript editor under 10kB
Stars: ✭ 3,664 (-65.06%)
Mutual labels:  wysiwyg, wysiwyg-editor
Re Editor
一个开箱即用的React富文本编辑器 🚀re-editor
Stars: ✭ 367 (-96.5%)
Mutual labels:  wysiwyg, wysiwyg-editor
Jodit
Jodit - Best WYSIWYG Editor for You
Stars: ✭ 947 (-90.97%)
Mutual labels:  wysiwyg, wysiwyg-editor
Canner Slate Editor
📝Rich Text / WYSIWYG Editor built for Modularity and Extensibility.
Stars: ✭ 1,071 (-89.79%)
Mutual labels:  wysiwyg, wysiwyg-editor

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/[email protected]/dist/css/bootstrap.min.css" />
<script type="text/javascript" src="cdn.jsdelivr.net/npm/[email protected]/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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].