wysihtml5

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.

  • 所有者: tiff/wysihtml5
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

h1. This project isn't maintained anymore

Please check out this "fork":http://wysihtml.com.

h1. wysihtml5 0.3.0

wysihtml5 is an open source rich text editor based on HTML5 technology and the progressive-enhancement approach.
It uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
The code is completely library agnostic: No jQuery, Prototype or similar is required.

This project was initiated and is supported by the "XING AG":https://www.xing.com. Thanks!

h2. Features

  • Auto linking of urls as-you-type
  • Generates valid and semantic HTML5 markup (no )
  • Uses class-names instead of inline styles
  • Unifies line-break handling across browsers (hitting enter will create instead of or )
  • Auto-parses content inserted via copy & paste (from Word, Powerpoint, PDF, other web pages, ...)
  • Converts invalid or unknown html tags into valid/similar tags
  • Source code view for users with HTML skills
  • Uses sandboxed iframes in order to prevent identity theft through XSS
  • Editor inherits styles and attributes (placeholder, autofocus, ...) from original textarea (you only have to style one element)
  • Speech-input for Chrome

h2. Browser Support

The rich text editing interface is supported in IE8+, FF 3.5+, Safari 4+, Safari on iOS 5+, Opera 11+ and Chrome.
Graceful Degradation: Users with other browsers will see the textarea and are still able to write plain HTML by themselves.

h2. Demos

  • "Simple Editor with italic and bold buttons":http://xing.github.com/wysihtml5/examples/simple.html
  • "Editor with advanced functionality":http://xing.github.com/wysihtml5/examples/advanced.html

h2. Companies using wysihtml5

  • "Basecamp":http://basecamp.com - Leading web-based project management and collaboration tool
  • "XING":https://www.xing.com - Business Social Network with more than 12 million members
  • "Qype":http://www.qype.com - Largest user-generated local review site in Europe
  • and many more ...

h2. Wiki

Check our "Wiki Pages":https://github.com/xing/wysihtml5/wiki including a simple "Getting Started Tutorial":https://github.com/xing/wysihtml5/wiki/Getting-Started.

h2. Research

Before starting wysihtml5 we spent a lot of time investigating the different browsers and their behaviors.

Check this repository:
"https://github.com/tiff/wysihtml5-tests":https://github.com/tiff/wysihtml5-tests

A compatibility table for rich text query commands can be found here:
"http://tifftiff.de/contenteditable/compliance_test.html":http://tifftiff.de/contenteditable/compliance_test.html

A pure native rich text editor with HTML validator and live source preview is here:
"http://tifftiff.de/contenteditable/editor.html":http://tifftiff.de/contenteditable/editor.html

h2. Contributors

  • "@tiff":https://github.com/tiff
  • "@ingochao":https://github.com/ingochao
  • "@uwe":https://github.com/uwe

主要指標

概覽
名稱與所有者tiff/wysihtml5
主編程語言JavaScript
編程語言Makefile (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2011-06-20 09:07:20
推送於2016-04-02 13:08:16
最后一次提交2014-12-18 18:26:41
發布數2
最新版本名稱0.3.0 (發布於 2012-05-18 17:29:22)
第一版名稱0.2.0 (發布於 )
用户参与
星數6.5k
關注者數167
派生數1k
提交數166
已啟用問題?
問題數465
打開的問題數262
拉請求數22
打開的拉請求數36
關閉的拉請求數40
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?