1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/vendor/assets/components/summernote/examples/plugin-hello.html

38 lines
1.3 KiB
HTML
Raw Normal View History

2015-05-13 18:30:35 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>summernote</title>
<!-- include jquery -->
2016-03-23 18:39:41 +01:00
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
2015-05-13 18:30:35 +02:00
<!-- include libraries BS3 -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" />
<script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" />
<!-- include summernote -->
<link rel="stylesheet" href="../dist/summernote.css">
<script type="text/javascript" src="../dist/summernote.js"></script>
<script type="text/javascript" src="../lang/summernote-ko-KR.js"></script>
2016-03-23 18:39:41 +01:00
<script type="text/javascript" src="../plugin/hello/summernote-ext-hello.js"></script>
2015-05-13 18:30:35 +02:00
<script type="text/javascript">
2016-03-23 18:39:41 +01:00
$(function() {
2015-05-13 18:30:35 +02:00
$('.summernote').summernote({
height: 200,
tabsize: 2,
toolbar: [
['style', ['bold', 'italic', 'underline', 'clear']],
2016-03-23 18:39:41 +01:00
['insert', ['hello']]
2015-05-13 18:30:35 +02:00
]
});
});
</script>
</head>
<body>
2016-03-23 18:39:41 +01:00
<textarea class="summernote">Seasons coming up</textarea>
2015-05-13 18:30:35 +02:00
</body>
</html>