simditor-html

WebJar for simditor-html

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

simditor-html
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

simditor-html
WebJar for simditor-html
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mycolorway/simditor-html

Download simditor-html

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.bower : jquery jar [2.1.4,2.2)
org.webjars.bower : simditor jar [2.3.4,2.4)
org.webjars.bower : js-beautify jar [1.5.5,1.6)

Project Modules

There are no modules declared in this project.

simditor-html

Add a HTML source editing button for Simditor. Use js-beautify for HTML formatting.

###Usage

Reference button and dependency script on your page with Simditor:

<script type="text/javascript" src="[path]/beautify-html.js"></script>
<script type="text/javascript" src="[path]/simditor-html.js"></script>

<link rel="stylesheet" href="[path]/simditor-html.css" media="screen" charset="utf-8" />

Add html button config when you initialize Simditor:

var editor = new Simditor({
  textarea: $('#txt-editor'),
  toolbar: ['bold', 'italic', 'underline', 'color', '|', 'ol', 'ul', '|', 'html']
});
org.webjars.bower

彩程设计

Versions

Version
1.1.1