forked from mycolorway/simditor
-
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.
- Loading branch information
1 parent
be3fdfd
commit 149f832
Showing
44 changed files
with
605 additions
and
207 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
encoding: utf-8 | ||
name: Simditor | ||
markdown: redcarpet | ||
source: docs | ||
source: site |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
<aside> | ||
<ul> | ||
<li{% if page.name == 'doc-config' %} class="active"{% endif %}><a href="{{ page.root }}docs/doc-config.html">配置</a></li> | ||
<li{% if page.name == 'doc-method' %} class="active"{% endif %}><a href="{{ page.root }}docs/doc-method.html">方法</a></li> | ||
<li{% if page.name == 'doc-event' %} class="active"{% endif %}><a href="{{ page.root }}docs/doc-event.html">事件</a></li> | ||
</ul> | ||
</aside> | ||
|
||
|
File renamed without changes.
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,11 @@ | ||
|
||
<header> | ||
<h1>Simditor</h1> | ||
<p class="desc">简单快速的富文本编辑器</p> | ||
</header> | ||
<nav> | ||
<a href="{{ page.root }}."{% if page.name == 'demo' %} class="active"{% endif %}>Demo</a> | ||
<a href="{{ page.root }}tours/tour-usage.html"{% if page.name contains 'tour' %} class="active"{% endif %}>教程</a> | ||
<a href="{{ page.root }}docs/doc-config.html"{% if page.name contains 'doc' %} class="active"{% endif %}>文档</a> | ||
<a href="{{ page.root }}download.html"{% if page.name == 'download' %} class="active"{% endif %}>下载</a> | ||
</nav> |
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,8 @@ | ||
<aside> | ||
<ul> | ||
<li{% if page.name == 'tour-usage' %} class="active"{% endif %}><a href="{{ page.root }}tours/tour-usage.html">使用方法</a></li> | ||
<li{% if page.name == 'tour-dev-env' %} class="active"{% endif %}><a href="{{ page.root }}tours/tour-dev-env.html">搭建环境</a></li> | ||
<li{% if page.name == 'tour-plugin' %} class="active"{% endif %}><a href="{{ page.root }}tours/tour-plugin.html">编写扩展</a></li> | ||
</ul> | ||
</aside> | ||
|
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,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<title>{{ page.title }}</title> | ||
<meta name="viewport" content="width=device-width"> | ||
|
||
<link media="all" rel="stylesheet" type="text/css" href="{{ page.root }}assets/styles/app.css" /> | ||
<link media="all" rel="stylesheet" type="text/css" href="{{ page.root }}assets/styles/font-awesome.css" /> | ||
<link media="all" rel="stylesheet" type="text/css" href="{{ page.root }}assets/styles/simditor.css" /> | ||
|
||
<script type="text/javascript" src="{{ page.root }}assets/scripts/jquery-2.1.0.min.js"></script> | ||
</head> | ||
<body> | ||
|
||
<div class="wrapper"> | ||
{% include header.html %} | ||
{{ content }} | ||
{% include footer.html %} | ||
</div> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
layout: default | ||
root: ../ | ||
--- | ||
|
||
<section class="page-doc page-sidebar" id="page-{{ page.name }}"> | ||
{% include doc-sidebar.html %} | ||
<article class="editor-style"> | ||
{{ content }} | ||
</article> | ||
</section> | ||
|
||
|
||
|
||
|
||
|
||
|
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,16 @@ | ||
--- | ||
layout: default | ||
root: ../ | ||
--- | ||
|
||
<section class="page-tour page-sidebar" id="page-{{ page.name }}"> | ||
{% include tour-sidebar.html %} | ||
<article class="editor-style"> | ||
{{ content }} | ||
</article> | ||
</section> | ||
|
||
|
||
|
||
|
||
|
File renamed without changes.
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,12 @@ | ||
|
||
$ -> | ||
$page = $('#page-download') | ||
|
||
$page.on 'mousedown', '.version .title', (e) -> | ||
$versionEl = $(@).closest('.version') | ||
expanded = $versionEl.hasClass 'expand' | ||
$versionEl.toggleClass 'expand', !expanded | ||
$versionEl.find('.icon') | ||
.toggleClass('fa-caret-down', !expanded) | ||
.toggleClass('fa-caret-right', expanded) | ||
|
Oops, something went wrong.