* add editorconfig to keep files consistent automatically
* lookup language mime type in languages dictionary
* use language maps instead of language list
* Revert "add editorconfig to keep files consistent automatically"
This reverts commit 3cfdd4a5444791e763ffae59fde199406677f82f.
* move location of toLowerCase()
* fix url encoding to support direct pastes to medium
* move check for object keys length to getQueryStringState
* remove url parse from GistContainer
* use useMemo instead of memo
* remove decode()
* add copy URL button to export menu
* The svg had initially contained all the fonts which are not need, so removed the fonts which we don't use using regex.
* Added my name to the contributors list.
* README.* updated
* unwanted regex string removed
* update ' ' to be \s+
* prevent index page from updating
* implement shouldComponentUpdate for ExportMenu
* replace componentDidUpdate with updateState in Editor
* replace shallowCompare with React.memo
* add flex-basis to prevent jank
* Add preset feature without create
* fix lint errors
* Add presets to Editor state
* add remove, update -> apply, omit presets
* replace name with index, add undo functionality
* fix reduce function
* Tweaks:
- Make remove filter setState atomic
- Remove broken sCU in BackgroundSelect
- Touch up style of arrow functions a little
- Remove titleBar from default settings
- Don't expose SETTINGS_KEYS
- Use hasOwnProperty instead of includes()
* refactor preset state into Settings
* move format code into editor and make it work again
* omit custom in applyPreset
* move presets array state into Settings
* keep custom sCU in BackgroundSelect
* pull out inline objects
* revert pages/index
* increase Presets font-size, remove margin-top
* Add ability to create presets
* also enable passing exportSize as prop
* move selectedPreset back into Settings (my bad Sean)
* replace splice with filter, getSavedX -> getX
* Revert "move selectedPreset back into Settings (my bad Sean)"
This reverts commit ae5da4700ea36ad7c31e697e83a2724be4b448f4.
* make sure background updates remove selected preset
* selectedPreset -> preset
* use onChange instead of selectPreset
* use preset id's instead of indexes
* bug fixes
* use disabled instead of pointer-events
* make .settings-presets-applied flex 💪
* make .settings-presets-arrow flex 💪
* move getPresets outside of `setState`
* move inline styles to style tag
* refactor using omitBy and isFunction
* remove lodash.isfunction
* fix applyPreset to disclude preset field
* move omit to getSettingsFromProps
* replace lodash.omit with omitBy solution
* .includes -> .indexOf
* add default preset and presetApplied state
* fix lint error
* remove presetApplied
* add more default presets
* fix default preset functionality
* tweaks
* preserve preset list scrollLeft b/w updates with a hack
* Use ref for preset content
* remove forwardRef
* implement background url support
- Closes#490
* fix lint
* WIP: move input into background picker
* fix cors issue
* keep background select as is
* update UI to select between URL and file
* fetch https url instead of http