All Projects → samclarke → Sceditor

samclarke / Sceditor

Licence: other
A lightweight HTML and BBCode WYSIWYG editor

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Sceditor

Awesome Wysiwyg
A curated list of awesome WYSIWYG editors.
Stars: ✭ 1,801 (+258.05%)
Mutual labels:  editor, contenteditable, wysiwyg, wysiwyg-editor
Pell
📝 the simplest and smallest WYSIWYG text editor for web, with no dependencies
Stars: ✭ 11,653 (+2216.7%)
Mutual labels:  editor, contenteditable, 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 (+95.23%)
Mutual labels:  editor, contenteditable, wysiwyg, wysiwyg-editor
Ckeditor5
Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
Stars: ✭ 5,406 (+974.75%)
Mutual labels:  contenteditable, wysiwyg, wysiwyg-editor
Jodit
Jodit - Best WYSIWYG Editor for You
Stars: ✭ 947 (+88.27%)
Mutual labels:  editor, wysiwyg, wysiwyg-editor
Re Editor
一个开箱即用的React富文本编辑器 🚀re-editor
Stars: ✭ 367 (-27.04%)
Mutual labels:  editor, wysiwyg, wysiwyg-editor
Tiptap
The headless editor framework for web artisans.
Stars: ✭ 13,629 (+2609.54%)
Mutual labels:  editor, wysiwyg, wysiwyg-editor
Slate Plugins
🔌 Next-gen slate plugins
Stars: ✭ 399 (-20.68%)
Mutual labels:  contenteditable, wysiwyg, wysiwyg-editor
Canner Slate Editor
📝Rich Text / WYSIWYG Editor built for Modularity and Extensibility.
Stars: ✭ 1,071 (+112.92%)
Mutual labels:  editor, wysiwyg, wysiwyg-editor
Text
📑 Collaborative document editing using Markdown
Stars: ✭ 282 (-43.94%)
Mutual labels:  editor, wysiwyg, wysiwyg-editor
Rich Markdown Editor
The open source React and Prosemirror based markdown editor that powers Outline. Want to try it out? Create an account:
Stars: ✭ 2,468 (+390.66%)
Mutual labels:  editor, wysiwyg, wysiwyg-editor
Flutter Quill
Rich text editor for Flutter
Stars: ✭ 177 (-64.81%)
Mutual labels:  editor, wysiwyg, wysiwyg-editor
Awesome Web Editor
🔨 Open source WEB editor summary
Stars: ✭ 306 (-39.17%)
Mutual labels:  editor, wysiwyg, wysiwyg-editor
Awesome Medium Editor
Medium.com WYSIWYG editor clone, with RTL support.
Stars: ✭ 12 (-97.61%)
Mutual labels:  editor, contenteditable, wysiwyg
Wysiwyg.js
wysiwyg contenteditable editor (minified+compression: 6kb)
Stars: ✭ 520 (+3.38%)
Mutual labels:  contenteditable, wysiwyg, wysiwyg-editor
am-editor
A rich text collaborative editor framework that can use React and Vue custom plug-ins. 一个富文本实时协同编辑器框架,可以使用React和Vue自定义插件。
Stars: ✭ 542 (+7.75%)
Mutual labels:  contenteditable, wysiwyg, wysiwyg-editor
Medium Editor
Medium.com WYSIWYG editor clone. Uses contenteditable API to implement a rich text solution.
Stars: ✭ 15,421 (+2965.81%)
Mutual labels:  editor, contenteditable, wysiwyg
Angular Editor
A simple native WYSIWYG editor component for Angular 6 -10+
Stars: ✭ 428 (-14.91%)
Mutual labels:  editor, wysiwyg, wysiwyg-editor
Trix
A rich text editor for everyday writing
Stars: ✭ 16,546 (+3189.46%)
Mutual labels:  wysiwyg, wysiwyg-editor
Hyper Editor
A backend independent visual composer for web.
Stars: ✭ 332 (-34%)
Mutual labels:  editor, wysiwyg

SCEditor v3.0.0

Build Status SemVer License

A lightweight WYSIWYG BBCode and XHTML editor.

SCEditor preview

For more information visit sceditor.com

Usage

Include the SCEditor JavaScript:

<link rel="stylesheet" href="minified/themes/default.min.css" />
<script src="minified/sceditor.min.js"></script>
<script src="minified/formats/bbcode.js"></script>
<script src="minified/formats/xhtml.js"></script>

Then to convert a textarea into SCEditor, simply do:

var textarea = document.getElementById('id-of-textarea');

sceditor.create(textarea, {
	format: 'xhtml',
	style: 'minified/themes/content/default.min.css'
});

or for a BBCode WYSIWYG editor do:

var textarea = document.getElementById('id-of-textarea');

sceditor.create(textarea, {
	format: 'bbcode',
	style: 'minified/themes/content/default.min.css'
});

Finally, to get the contents of the editor:

var textarea = document.getElementById("id-of-textarea");

sceditor.instance(textarea).val();

Options

For a full list of options, see the options documentation.

Building and testing

You will need Grunt installed to run the build/tests. To install Grunt run:

npm install -g grunt-cli

Next, to install the SCEditor dev dependencies run:

npm install

That's it! You can now build and test SCEditor with the following commands:

# Minify the JS and convert the LESS to CSS
grunt build

# Run the linter, unit tests and coverage
grunt test

# Creates the final distributable ZIP file
grunt release

You can also run the dev server to test changes without having to do a full build by running:

npm run dev

and then going to http://localhost:9000/tests/

Contribute

Any contributions and/or pull requests would be welcome.

Themes, translations, bug reports, bug fixes and donations are greatly appreciated.

Donate

If you would like to make a donation you can via PayPal or via Flattr

License

SCEditor is licensed under the MIT license:

Copyright (C) 2011 - 2017 Sam Clarke and contributors – sceditor.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Credits

Nomicons: The Full Monty Emoticons by: Oscar Gruno, aka Nominell v. 2.0 -> [email protected] Andy Fedosjeenko, aka Nightwolf -> [email protected]

Icons by: Mark James (http://www.famfamfam.com/lab/icons/silk/) Licensed under the Creative Commons CC-BY 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].