Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/QuickStart-Rich-Styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class MyEditor extends React.Component {
}
```

> handleKeyCommand
> `handleKeyCommand`
>
> The `command` argument supplied to `handleKeyCommand` is a string value, the
> name of the command to be executed. This is mapped from a DOM key event. The
Expand Down
2 changes: 1 addition & 1 deletion meta/bundle-size-stats/Draft.js.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion meta/bundle-size-stats/Draft.min.js.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"rename-version": "docusaurus-rename-version"
},
"devDependencies": {
"docusaurus": "1.1.3"
"docusaurus": "1.3.3"
},
"dependencies": {
"babel-preset-env": "1.6.0",
Expand Down
5 changes: 4 additions & 1 deletion website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ const siteConfig = {
// Google analytics tracking id
gaTrackingId: 'UA-44373548-19',

// Show page Table of Contents
// Show page's Table of Contents
onPageNav: 'separate',

// No .html in the path.
cleanUrl: true,
};

module.exports = siteConfig;
24 changes: 6 additions & 18 deletions website/static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
a {
color: $secondaryColor;
}

.hero {
background: #843131;
padding: 50px 0;
Expand All @@ -17,10 +21,6 @@
text-transform: uppercase;
}

.hero strong {
font-weight: 400;
}

.hero .button {
box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
}
Expand All @@ -45,7 +45,7 @@
background: #C15757;
}

p, .diagram {
.diagram {
margin: 16px 0;
}

Expand Down Expand Up @@ -141,23 +141,11 @@ p, .diagram {
background-color: rgba(75, 145, 80, 0.05);
}

pre code.hljs.css {
border-left-color: #C15757;
}

.docMainWrapper .mainContainer .wrapper .post h1,
.docMainWrapper .mainContainer .wrapper .post h2,
.docMainWrapper .mainContainer .wrapper .post h3,
.docMainWrapper .mainContainer .wrapper .post h5,
.docMainWrapper .mainContainer .wrapper .post h6 {
font-weight: bold;
}

@media screen and (max-width: 767px) {
.hide-on-mobile {
display: none;
}

.home-getting-started {
width: 100%;
}
Expand Down
Loading