forked from summernote/summernote
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add old library example page(bootstrap 2.3.1 + font-awesome 4.0.3)
- Loading branch information
1 parent
8b0a702
commit 4cde55c
Showing
2 changed files
with
50 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!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 --> | ||
<script src="//code.jquery.com/jquery-1.9.1.min.js"></script> | ||
|
||
<!-- include libraries BS2 --> | ||
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"> | ||
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script> | ||
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" /> | ||
|
||
<!-- include summernote --> | ||
<link rel="stylesheet/less" type="text/css" href="../summernote.less" /> | ||
<script type="text/javascript" src="../summernote.js"></script> | ||
|
||
<script type="text/javascript"> | ||
$(document).ready(function() { | ||
$('.summernote').summernote({height: 300}); | ||
}); | ||
</script> | ||
</head> | ||
<body> | ||
<div class="summernote"></div> | ||
<script type="text/javascript"> | ||
less = { | ||
env: "development", // or "production" | ||
async: false, // load imports async | ||
fileAsync: false, // load imports async when in a page under | ||
// a file protocol | ||
poll: 1000, // when in watch mode, time in ms between polls | ||
functions: {}, // user functions, keyed by name | ||
dumpLineNumbers: "comments", // or "mediaQuery" or "all" | ||
relativeUrls: false,// whether to adjust url's to be relative | ||
// if false, url's are already relative to the | ||
// entry less file | ||
rootpath: ":/a.com/"// a path to add on to the start of every url | ||
//resource | ||
}; | ||
</script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/1.3.3/less.min.js" type="text/javascript"></script> | ||
</body> | ||
</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