index.html
<!DOCTYPE html>
<html>
<head>
<title>Web App</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/jodit/2.3.6/jodit.min.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/codemirror.min.css">
<script src="http://cdnjs.cloudflare.com/ajax/libs/jodit/2.3.6/jodit.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/codemirror.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/mode/xml/xml.min.js"></script>
</head>
<body>
<textarea id="editor" name="editor"></textarea>
<script type="text/javascript">
new Jodit('#editor');
</script>
</body>
</html>
--------------------------------------
Demo:
Sources:
http://cdnjs.cloudflare.com/ajax/libs/jodit/2.3.6/jodit.min.css
http://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/codemirror.min.css
http://cdnjs.cloudflare.com/ajax/libs/jodit/2.3.6/jodit.min.js
http://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/codemirror.min.js
http://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/mode/xml/xml.min.js
0 comments:
Post a Comment