wysihtml5

WebJar for wysihtml5

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

wysihtml5
Последняя версия

Последняя версия

0.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

wysihtml5
WebJar for wysihtml5
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/xing/wysihtml5

Скачать wysihtml5

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/wysihtml5/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>wysihtml5</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/wysihtml5/
implementation 'org.webjars.bower:wysihtml5:0.3.0'
// https://jarcasting.com/artifacts/org.webjars.bower/wysihtml5/
implementation ("org.webjars.bower:wysihtml5:0.3.0")
'org.webjars.bower:wysihtml5:jar:0.3.0'
<dependency org="org.webjars.bower" name="wysihtml5" rev="0.3.0">
  <artifact name="wysihtml5" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='wysihtml5', version='0.3.0')
)
libraryDependencies += "org.webjars.bower" % "wysihtml5" % "0.3.0"
[org.webjars.bower/wysihtml5 "0.3.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

This project isn’t maintained anymore

Please check out this fork.

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. Thanks!

Features

  • Auto linking of urls as-you-type
  • Generates valid and semantic HTML5 markup (no <font>)
  • Uses class-names instead of inline styles
  • Unifies line-break handling across browsers (hitting enter will create <br> instead of <p> or <div>)
  • 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

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.

Demos

Companies using wysihtml5

  • Basecamp – Leading web-based project management and collaboration tool
  • XING – Business Social Network with more than 12 million members
  • Qype – Largest user-generated local review site in Europe
  • and many more …

Wiki

Check our Wiki Pages including a simple Getting Started Tutorial.

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

A compatibility table for rich text query commands can be found here:
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

Contributors

org.webjars.bower

XING Developers

Версии библиотеки

Версия
0.3.0