57 Commits (9fb7abaa2e63f9883f80b184124f9f0aa9b7783e)

Author SHA1 Message Date
Jake Archibald c4e224df29 Adding line-height setting & granular font size. (#410)
* Adding line-height option. Fixes #406.

* Allowing more granular font size
6 years ago
Michael Fix 2a52d101e7
Fix spinner position (#398) 7 years ago
Michael Fix a81107d723 Remove UNSAFE lifecycle methods (#377)
* Remove UNSAFE lifecycle methods

* Fix gDSFP issue

* Extract onBeforeChange

* Remove this from getDerivedStateFromProps
7 years ago
Brian Dennis d885b63b3a add alt text support for Twitter images (#372)
* add alt text support for Twitter images

* move constant declarations up

* Use UNSAFE_cWRP

* remove duplicate TODO (whoops)
7 years ago
Michael Fix 3bbb98a3a2
Revert "Refactor state components (#338)" (#348)
This reverts commit 0a59db56c8.
7 years ago
Michael Fix 0a59db56c8
Refactor state components (#338)
* WIP: Unstated works

* WIP: extract into its own file

* Container instance

* Remove unused variables

* Move toolbar children into Toolbar

* Extract our Coder interface

* Remove top level subscription

* Bug fix

* WIP

* Remove old dependencies

* Add import eslint plugin

* Rename components

- add createRef TODO [ ]

* Bug fixes

* Rename Coder -> CodeWindow

* Address comments

- Rename to variable
- Rename onDrop from Editor containers perspective

* More variable renaming
7 years ago
Mike Fix e02d5e1ddf Add TODOs when upgrading to React@16.3 7 years ago
Michael Fix 5691236934
Refactor index.js (#310)
* Move Editor to components

* Separate index and editor a little

* Revert dynamic import of hljs b/c it's critical

* Move query param update to index.js

* Clean up editor further
7 years ago
Ian Wang 6bf64a6ae0 delay loading highlightjs & codemirror theme (#309) 7 years ago
Mike Fix 1f9076c679 Implement Shift-tab to dedent
- Closes #304
7 years ago
Michael Fix 5a4cdd7d7f
Lint and fix issues, don't add linting yet though (#293)
* Lint and fix issue, don't add linting yet though

* Clean up

* Remove /about href
7 years ago
Michael Fix a6324586eb Performance improvements (#287)
* Perf improvements. Limit rerender on keystrokes

* Spread settings props, make dropdowns and carbon pure

* Remove last TODO

* Pass state into value of titleBar input

* Clean up
7 years ago
Jake Dexheimer c6be4f0295 prettier 7 years ago
Jake Dexheimer 9499248e1c
Add watermark feature (#274)
* Add watermark feature

* Change watermark to carbon logo

* Fix double borders
7 years ago
Jake Dexheimer f28d80c250 Minor windowTitle positioning change 7 years ago
Mark Molnar b1ef2d1263 Feature: Window Title (#257)
* Added title bar

* Added state for title bar
7 years ago
Dillon Mulroy 91cf4b7734 import default settings from constants 7 years ago
Jake Dexheimer cbc6824b83 Background image settings (#169)
* Implement drag-n-drop image for backgrounds

- Closes #122

* In progress

* Add background-size, background-position settings

* Add ReactCrop

* Remove old bg sizing sliders

* Add resize observer

* Fix typo

* Disable select on sliders

* onAspectRatioChange hook

* Rename to backgroundColor

* Fix state issues

* Add backgroundMode toggle

* Rename ColorPicker

* Add upload-image margin

* Minor font-size change

* Fix build
7 years ago
Michael Fix 508afdfbb4
Implement drag-n-drop image for backgrounds (#157)
- Closes #122
7 years ago
Michael Fix a394079b2a
Make default font one without ligatures (#155) 7 years ago
Mike Fix 28577aaf64 Font fixes 7 years ago
Jake Dexheimer 38cc0f91af Font support (#149)
* Add font family/font size support

* Load fonts with css

* Change settings item order
7 years ago
Rafael Câmara a4cfaab3a7 Adding drop shadow offset-y and blur-radius menu option (#143)
* Adding drop shadow offset-y and blur-radius menu option

* Fixing @jakedex concerns

* Fixing drop-shadow blur-radius label to fit the pattern
7 years ago
Jake Dexheimer 5ecb19c6b6 Fix export alpha padding issue 7 years ago
Michael Fix 70e9e40811
Add max-width to container (#144)
- Closes #135
7 years ago
Michael Fix 94e4767808
Debounce language changes (#141)
- Closes #140
7 years ago
slorber 4cfbb8f3d1 fix cursor jumping at the end after every editor update 7 years ago
briandennis 2eee0078e7 fix background rendering 7 years ago
Michael Fix bdc9211d25 Fix state bugs, fix drag-n-drop bugs, fix url encoding bugs (#126)
* react-codemirror to react-codemirror2@3

* Fix encoding queryParam issues

* Fix gist support
7 years ago
Jake Dexheimer b4e5459432 Update dependencies (#124)
* Upgrade react, react-dom, react-color, next

* Use dynamic styles in Carbon.js

* Fix react-color alpha issues
7 years ago
Jake Dexheimer 9379528ccc Remove line numbers background style 7 years ago
Mat Gadd 3abcefb807 Disable box-shadow for all solarized themes 7 years ago
Mat Gadd c7a71b7b12 Apply solarized hacks to the light theme only 7 years ago
Jake Dexheimer 96ac36baf5 Fix component state issues 7 years ago
Neto Guimarães e51628ce8d adding support to 'line numbers' settings (#116)
* adding support to 'line numbers' settings

* Update Settings.js
7 years ago
Jake Dexheimer 9d69d2392b Add alpha support, sketch color picker 7 years ago
Jake Dexheimer ee0feeb527 Twitter colorpicker -> Sketch colorpicker 7 years ago
Jake Dexheimer 526453796b Add transparent pixels to image 7 years ago
Patryk Jóźwiak ede83bf424 Add width adjustment. (#91) 7 years ago
Peng Jie 3985e35b52 Use spread operator (#95)
* Use spread operator replace Object.assign()

* Fix tag name
7 years ago
Mike Fix 598ca88b98 React-codemirror -> react-codemirror2
- Closes #64
7 years ago
Jake Dexheimer 7bfa2ef621 Add support for more clike languages 7 years ago
Andrew f3b80b1783 Use mode instead of module 7 years ago
Jake Dexheimer 27bad782b4 Fix solarized theme, remove redundant light:true 7 years ago
Andrew 3cbcb49c27 Remove semicolons 7 years ago
Andrew Dassonville 7e69ca2897 Add prettier 7 years ago
Jake Dexheimer c523af5dff Increase font size 7 years ago
Jake Dexheimer c099c763be Fix windows scrollbar issue 7 years ago
Jake Dexheimer d6b4db144a Default theme 7 years ago
Jake Dexheimer bb9efd6e38 Fix double select, buttons align 7 years ago