-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix buttons bug, when in buttons you set string it could throw error
- Loading branch information
Showing
22 changed files
with
251 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<!doctype html> | ||
<!-- | ||
* Jodit Editor (https://xdsoft.net/jodit/) | ||
* License https://xdsoft.net/jodit/license.html | ||
* Copyright 2013-2018 Valeriy Chupurnov https://xdsoft.net | ||
--> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"/> | ||
<title>Jodit Example</title> | ||
</head> | ||
<body> | ||
<header> | ||
<nav> | ||
<ul class="container"> | ||
<li><a href="https://xdsoft.net/jodit/">Jodit homepage</a></li> | ||
<li><a href="https://xdsoft.net/jodit/play/">Playground</a></li> | ||
<li><a href="https://xdsoft.net/jodit/docs/">Documentation</a></li> | ||
<li><a href="https://github.com/xdan/jodit/">Github</a></li> | ||
<li><a href="https://github.com/xdan/jodit/releases">Changelog</a></li> | ||
<li> | ||
<a href="javascript:void(0)">Examples</a> | ||
<ul id="examples"><!-- see app.js--></ul> | ||
</li> | ||
<li style="float:right"><a href="https://github.com/xdan/jodit/releases/latest">Download</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
<div id="main_container" class="container"> | ||
<div id="introduction"> | ||
<h3>HTML</h3> | ||
<pre> | ||
<textarea id="editor"></textarea> | ||
</pre> | ||
<h3>JavaScript</h3> | ||
<pre> | ||
var editor = new Jodit('#editor', { | ||
buttons: 'source,about,print,bold', | ||
buttonsMD: 'source,about,print', | ||
buttonsSM: 'source,about', | ||
buttonsXS: 'source' | ||
}); | ||
</pre> | ||
</div> | ||
<div class="result"> | ||
<textarea id="area_editor"></textarea> | ||
</div> | ||
</div> | ||
<footer> | ||
<nav> | ||
<ul class="container"> | ||
<li><a href="https://xdsoft.net/jodit/">Jodit homepage</a></li> | ||
<li><a href="https://xdsoft.net/jodit/play/">Playground</a></li> | ||
<li><a href="https://xdsoft.net/jodit/docs/">Documentation</a></li> | ||
<li><a href="https://github.com/xdan/jodit/">Github</a></li> | ||
<li><a href="https://github.com/xdan/jodit/releases">Changelog</a></li> | ||
<li style="float:right"><a href="https://github.com/xdan/jodit/releases/latest">Download</a></li> | ||
</ul> | ||
</nav> | ||
</footer> | ||
</body> | ||
<link rel="stylesheet" href="../build/jodit.min.css"/> | ||
<link rel="stylesheet" href="app.css"/> | ||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,700,700i" rel="stylesheet"> | ||
|
||
<script src="../build/jodit.min.js"></script> | ||
<script src="app.js"></script> | ||
<script> | ||
var editor = new Jodit('#area_editor', { | ||
buttons: 'source,about,print,bold', | ||
buttonsMD: 'source,about,print', | ||
buttonsSM: 'source,about', | ||
buttonsXS: 'source' | ||
}); | ||
</script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.