Commit graph

167 commits

Author SHA1 Message Date
7cat e96fddffcb Update simplemde.js 2015-12-18 16:38:40 +08:00
郑哲明 4fe8ad6cdf Fix bug related with issue #206
When user click 'toggleSideBySide'  button will always register a new
'update' listener .Modify the logic if toggle on register a listener  if
toggle off  remove the listener.
2015-12-18 16:32:50 +08:00
Wes Cossick e89b0e4049 Merge pull request #207 from vladson/master
Add characters count to status bar.
2015-12-17 22:14:24 -06:00
Vladislav Bogomolov 6c61b1a4aa Add characters count to status bar. 2015-12-18 01:35:29 +03:00
郑明明 b9f77e0bea Adding support for asciidoctor
A editor that can edit asciidoctor online .....
It seems the performance of the editor is not good.
2015-12-18 00:07:19 +08:00
Adam Misiorny 3178aab2cb add styling for placeholder element 2015-12-10 22:55:54 +01:00
Adam Misiorny c92f4e3bd3 change single quotes to double quotes 2015-12-10 07:58:19 +01:00
Adam Misiorny f891cfb787 add placeholder option 2015-12-09 00:20:42 +01:00
Wes Cossick d30d9b7d00 Fix initial value overwriting autosaved value 2015-12-05 00:31:27 -06:00
Wes Cossick 36f97604f4 Refactor default toolbar organization; Allow showIcons setting (#170) 2015-12-05 00:18:40 -06:00
Wes Cossick 4dbe95fe80 Fixes #163 where tabbing through form would land on icons 2015-12-04 23:41:24 -06:00
Wes Cossick 17dad384bc Fix #166, z-index inconsistencies causing scroll issues 2015-12-04 19:52:34 -06:00
Wes Cossick 396de5f46c Fix #167 where escape key wouldn't always work 2015-12-04 19:48:26 -06:00
Wes Cossick 170cbd0b2f Merge pull request #185 from adam187/feature/block-styles
add ability to set up markup for bold and italic
2015-11-30 11:09:41 -06:00
Adam Misiorny 54fa76d798 update condition 2015-11-30 10:18:26 +01:00
Adam Misiorny abedc7371d add ability to set up markup for bold and italic 2015-11-29 21:31:17 +01:00
Adam Misiorny c7c940c614 fix condition for checking unique_id in autosave option when autosave is not defined 2015-11-29 21:13:40 +01:00
Qumber 342e853c19 Added support for tables 2015-11-24 17:54:41 +00:00
Wes Cossick a64f07e1c3 Autosave improvements (see description)
Checks that localStorage is available for all features, logs error if
not
Added function to clear the autosaved value
Prefixed the autosave localStorage key with “smde_”
2015-11-19 17:22:03 -06:00
Wes Cossick 52ed959be9 Change unique_id to uniqueId 2015-11-19 14:47:15 -06:00
Wes Cossick 90733ec404 Fix autosave briefly losing saved value 2015-11-16 00:01:44 -06:00
Wes Cossick becd1317ff Trigger Travis CI build with small change 2015-11-03 22:01:40 -06:00
Wes Cossick adda6665c1 Update simplemde.js 2015-11-03 15:07:39 -06:00
Wes Cossick a98665a0a7 Merge branch 'master' into development 2015-11-03 14:58:30 -06:00
Wes Cossick 2c77d032e6 Force lint error to test Travis CI 2015-11-03 14:46:23 -06:00
Wes Cossick dab0b6be7b Merge pull request #155 from NextStepWebs/development
New option, HTML highlighting, Gulp build tweaks, Fix bugs
2015-11-03 11:33:50 -06:00
Wes Cossick 73e5e5fb4e Change replaceTexts to insertTexts 2015-11-03 11:31:22 -06:00
Wes Cossick 361c097643 Fix gradient CSS 2015-11-03 10:29:46 -06:00
Wes Cossick cef2623e2a Recompile files with latest commits 2015-11-03 10:16:08 -06:00
Alex Canessa 8bf55b1b34 Add the replace selection text to the options. 2015-11-03 10:36:24 +00:00
Wes Cossick e20b64c97a Fix bug with sprockets compilation 2015-10-26 10:37:00 -05:00
Wes Cossick 3baa1d1ac8 Revert "Fix sprockets compilation error related to filter: progid:" 2015-10-26 10:36:14 -05:00
kleroy e1b70d737e Fix sprockets compilation error related to filter: progid:
```
Invalid CSS after "...);filter:progid": expected ";", was ": DXImageTransf..."
```
2015-10-24 12:35:56 +02:00
Wes Cossick de87b0ccd3 Added basic HTML tag syntax highlight styling 2015-10-21 10:04:21 -05:00
Wes Cossick b59279a3d8 Revert "Added basic HTML tag syntax highlight styling" 2015-10-21 10:01:11 -05:00
danabrey e79b5f14ed Added basic HTML tag syntax highlight styling 2015-10-21 11:09:44 +01:00
Wes Cossick 653dde0d5d Merge pull request #139 from NextStepWebs/development
UMD design, Bower support, Linting, Bug fixes
2015-10-20 15:41:09 -05:00
Wes Cossick 03b5ed2551 Fix preview overlap issue 2015-10-20 15:13:28 -05:00
Wes Cossick efc38f43da Update CodeMirror; Add three state methods 2015-10-20 15:01:14 -05:00
Wes Cossick dc5126b4fe Make linter happy 2015-10-19 12:53:40 -05:00
Wes Cossick 8e53037df9 Merge pull request #127 from PhantomXCool/development
Add Support UMD
2015-10-19 12:42:16 -05:00
PhantomX cd60814099 1. move the non-minified compiled JS file to the /debug/ directory
2. Corrected dependency for "marked"
2015-10-15 13:01:16 +03:00
PhantomX 09c9126741 add browserify-shim for spell-checker
revert tablist.js
2015-10-14 12:04:22 +03:00
PhantomX 01306ad105 Remove spell-checker. Module 'spell-checker' must support CommonJS 2015-10-08 11:31:05 +03:00
Wes Cossick effd98d463 Detect mobile and prevent fullscreen dependent features 2015-10-07 21:13:38 -05:00
PhantomX df1e551c0f add UMD support and add linting utility for JavaScript ESLint 2015-10-07 23:52:14 +03:00
Wes Cossick 416d807a92 Update to support allowDropFileTypes 2015-10-05 10:32:41 -05:00
Wes Cossick ec8bba319d Merge pull request #115 from NextStepWebs/development
Add dist files
2015-09-25 17:11:16 -05:00
Wes Cossick c55b5c6ecb Commit distribution files 2015-09-25 17:10:10 -05:00
Wes Cossick f32e103944 Merge pull request #114 from NextStepWebs/development
Intelligently download Font Awesome, New options, Bug fixes
2015-09-25 16:57:12 -05:00
Wes Cossick 443a58cc28 New option: renderingConfig which includes syntax highlighting 2015-09-25 16:47:24 -05:00
Wes Cossick a52a9a0098 Use .no-disable and .no-mobile classes instead of .fa-X classes 2015-09-25 15:56:49 -05:00
Wes Cossick 5466648503 Rebuild project 2015-09-25 15:49:54 -05:00
Wes Cossick 42068c97f9 Fix bug with hideIcons 2015-09-25 15:33:35 -05:00
Wes Cossick b0193b4110 Hide fullscreen button on mobile due to issues 2015-09-25 15:32:24 -05:00
Wes Cossick d13b3d51cd Rebuild project 2015-09-25 15:21:39 -05:00
Wes Cossick a93f7a2570 New hide icons option 2015-09-24 15:03:20 -05:00
Wes Cossick e18beb56f7 Remove debug output 2015-09-19 20:43:20 -05:00
Wes Cossick bfda8350ae Auto download Font Awesome 2015-09-19 20:42:20 -05:00
Wes Cossick 589386dc8a Fix URL matching RegEx 2015-09-18 10:57:02 -05:00
Wes Cossick 57fcf521a0 Merge pull request #107 from NextStepWebs/development
Custom preview rendering, Loads of bug fixes
2015-09-17 01:21:32 -05:00
Wes Cossick 3dcb71e880 Update gulpfile.js to wait for downloads 2015-09-17 00:53:05 -05:00
Wes Cossick 1762dea647 More defensive coding for #91 2015-09-17 00:43:49 -05:00
Wes Cossick e6ab126431 Fix Esc key not exiting full screen properly; Fixes #99 2015-09-17 00:42:31 -05:00
Wes Cossick 2f6af67480 parsingConfig documentation 2015-09-17 00:40:57 -05:00
Wes Cossick 53910de1f9 Re-add paper theme 2015-09-16 23:20:37 -05:00
Dave Brondsema ab83c5a5f6 Add getState() support for code (and yes, CodeMirror intenrally labels it as "comment") 2015-09-14 18:16:58 +00:00
arduanov 23359590df Fix autosave
After submit form with autosave we have emty string in local storage.
We won't set empty string instead of default form content.
2015-09-14 11:46:22 +05:00
Wes Cossick 5ff5766ea6 Add parsingConfig option, TODO document 2015-09-12 02:03:49 -05:00
Wes Cossick 7f4491edee Merge proposed PRs for CodeMirror 2015-09-12 02:03:49 -05:00
Wes Cossick f77dbc6aab Update/download dependencies 2015-09-12 02:03:49 -05:00
Dave Brondsema 646002bff7 Don't increment both start and end points if they are the same object (e.g. no selection) 2015-09-10 21:54:41 +00:00
Wes Cossick 98aa67881d Fix error found in #91 2015-09-10 01:29:00 -05:00
Wes Cossick f14c5f446f previewRender now supports async too 2015-09-05 14:28:50 -05:00
Wes Cossick 08c9d89662 Fix toolbar height again 2015-09-05 14:17:59 -05:00
Wes Cossick 4213ec606a Fix toolbar height bug in fullscreen 2015-09-05 14:13:41 -05:00
Wes Cossick 6c5a0dbc67 Regenerate dist files 2015-09-03 18:01:47 -05:00
Wes Cossick 8dd6262274 Simplified previewRender option 2015-09-03 17:59:50 -05:00
Wes Cossick d4e5b77a8f Updates to custom preview rendering, Gulp dist files 2015-09-03 17:37:44 -05:00
Wes Cossick eec0f55969 Merge pull request #82 from brondsem/pluggable_preview_func
Make preview rendering be customizable
2015-09-03 17:09:05 -05:00
Dave Brondsema fe1f2a8d4f Negate the active styling of buttons when in preview mode 2015-09-03 17:27:49 +00:00
Dave Brondsema f0f496ae92 Make preview rendering be customizable 2015-09-02 20:43:46 +00:00
Wes Cossick 8ed562431a Compress and prettify 2015-09-02 10:23:15 -05:00
Wes Cossick 35afb015a3 Mobile: Should prevent scroll behind fullscreen 2015-09-02 01:21:48 -05:00
Wes Cossick e9d4205731 Mobile: Fade edges of fullscreen toolbar 2015-09-02 01:09:02 -05:00
Wes Cossick 8c32586d73 Mobile: Hide side-by-side preview 2015-09-02 00:46:23 -05:00
Wes Cossick d74bf5def3 Recompile and prettify 2015-09-01 22:38:00 -05:00
Wes Cossick eba5e8a77d Better bigger/smaller heading icons 2015-09-01 20:35:51 -05:00
Wes Cossick afa0101e68 Better element option behavior according to #79 2015-09-01 20:31:32 -05:00
Wes Cossick 8218391cfd Gulp now pretty formats JS and CSS 2015-09-01 20:26:52 -05:00
Wes Cossick b43b99e50d Begin testing gulp-beautify 2015-09-01 13:32:57 -05:00
Wes Cossick 866488b0a9 Brand new side-by-side preview mode 2015-09-01 01:40:33 -05:00
Wes Cossick 41c551c115 Add new icon option: Strikethrough 2015-09-01 00:51:40 -05:00
Wes Cossick db6d381d1c Three new heading icons, Fix heading button bugs 2015-09-01 00:40:11 -05:00
Wes Cossick 8311c8431b Fix toolbar button shift issue 2015-09-01 00:00:06 -05:00
Wes Cossick cbeb630a97 Add singleLineBreaks option 2015-08-31 23:53:32 -05:00
Wes Cossick 2a32e619a4 Update Markdown options to use GFM line breaks 2015-08-31 23:29:11 -05:00
Wes Cossick f0679a4154 Update CodeMirror to 5.6.x 2015-08-28 13:16:31 -05:00
Wes Cossick daf2c453f6 Update built in toolbar buttons 2015-08-18 08:37:42 -05:00
Fraser Redmond d60d0cd80d Added defaults for more toolbar buttons 2015-08-18 10:06:00 +01:00