-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Requiring Codemirror outside of a browser context results in errors…
…. In order to support server rendering, this lazily requires SimpleMDE (which uses Codemirror under the hood) from React component lifecycle events. - Workaround to achieve sync in client-server ID's by giving ability to set up custom ID's as props added. - Initial value was missing in textbox when redirect using react-router with already prepared state. `initialValue` option is mapped to `this.props.value ` on SimpleMDE instance creation. - Readme typo with `value` inside in `options` fixed to avoid confusion -.editorconfig added to keep consistency in code indentation rules etc. Fixes #27 #29 #30
- Loading branch information
Showing
3 changed files
with
20 additions
and
4 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,10 @@ | ||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = 0 | ||
trim_trailing_whitespace = false |
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