705 Commits (fee170d1284c91d9496f865b71df06fa0abb2671)

Author SHA1 Message Date
Andrew Dassonville 830442c64a Add support for first line number setting (#849)
* Add support for first line number setting

* Set min value to 0

* Add number types

* add label and width settings to Input

* use Input component instead of Text

* remove unused types

* first-row -> first-line-number-row

* more .row into global stylesheet
5 years ago
Michael Fix ecaf48b30c
Bundle size (#844)
* just load SketchPicker

* remove colornames package

* load other highlight.js modes lazily

* add bundle analyzer hook

* only load modes once per session

* fix up modes loaded

* fix up
5 years ago
Michael Fix 552a9c99be
Store Unsplash background image not dataturl (#836)
* store background image, not background selection in presets

* move localStorage into save utils

* curry omit util fn

* clean up manual image upload by URL

* refactor image changes

* separate uploadImage from selectImage

* upgrade visual regression testing tests

* add TODOs
5 years ago
Mike Fix 8e1db7cb03 Merge branch 'opencollective' into master-release 5 years ago
Mike Fix 27cd3aefe7 fix editor selection state and improve click outside 5 years ago
Mike Fix 7b03e91e84 use useReducer for bold, italics, underline, and color 5 years ago
Mike Fix e180b9de8b improve highlight positioning 5 years ago
Mike Fix 7f8381c627 noop 5 years ago
Mike Fix 9dc13f702e clean up SelectionEditor code 5 years ago
Mike Fix 3ad106cd20 refactor onSelectionChange to class scope 5 years ago
Mike Fix 37debfdbad refactor onMouseUp to class scope 5 years ago
Mike Fix fc988fefba modifierOpenAt -> selectionAt 5 years ago
Mike Fix 20b56e9957 refactor onSelection to class scope 5 years ago
Mike Fix c6ce1662b2 pos -> position 5 years ago
Mike Fix d42b0ec65b refactor SelectionEditor into own file 5 years ago
Mike Fix 869ca859e2 bold, italics, underline, color work 5 years ago
Mike Fix a91d2f2307 More WIP 5 years ago
Mike Fix cdaee55f0d WIP 5 years ago
Mike Fix 3e1577c13b sponsor url in footer 5 years ago
Michael Fix 4ec70a2bf6
Repository changes from org change (#840)
* dawnlabs -> carbon-app

* update READMEs

* remove logo from translated readmes

* change project link

* update license

* remove case study link from translated READMEs
5 years ago
Mike Fix 8b5d766d1e improve searchLanguage 5 years ago
Mike Fix d43c5766cf use useCallback for useGutterClickHandler 5 years ago
Mike Fix 7510dcb5ea refactor onGutterClick to remove editorRef 5 years ago
Mike Fix 348ee2050d use useReducer for selected lines 5 years ago
Mike Fix 55e01231d9 move mode loading into useEffect 5 years ago
Mike Fix d9f1041740 upgrade Codemirror to 5.48.2 5 years ago
Michael Fix 942f21e7db
Refactor mode loading into Carbon (#825)
* refactor mode loading into Carbon

* made alreadyLoaded Set a static property
5 years ago
Michael Fix 795311f307
Refactor selected lines to read from React state (#833)
* holding opacities in state works

* refactor to use functional set state

* clean up onGutterClick code #1

* clean up onGutterClick code #2

* clean

* use regular effect

* return forward ref directly
5 years ago
Mike Fix ff26f0f624 move @font-face into function component 5 years ago
Mike Fix 754965198d remove bad global styles from Settings 5 years ago
Michael Fix 12001bd64a fix encoding again (#823) 5 years ago
Michael Fix ddc611a6f9 Refactor preset state (#822)
* refactor preset state

* remove unnecessary constant
5 years ago
Adam Lusted b84474652c Added SynthWave '84 theme + Text Shadows (#810)
* - Added ability to set optional `text-shadows` on themes.
- Extended `THEMES` to include optional `shadows` setting.
- Added SynthWave '84 theme. See https://github.com/robb0wen/synthwave-vscode

* - Changed ID of `SynthWave-84` theme to `synthwave-84`
- Added synthwave-84 to LOCAL_STYLESHEETS
- Migrated SynthWave-84 theme to `static/themes/synthwave-84.css`
- reverted a few things from 3f9daaf9ecee4561f9fad1bbdb8f38fd58a631c6
  - Reverted global text-shadows
  - Reverted constants.js/themes model changes.

* Update Meta.js
5 years ago
Mike Fix 674cfd2cf3 fix twitter card meta tags 5 years ago
Tim Neutkens 7fdda47816 Add autoExport (#782)
* Add autoExport

* Upgrade Next.js

* Upgrade Next.js

* export service worker to /public

* fix service worker build - file exported to /public (unwanted)

* next next@canary

* try to fix SW

* try to fix SW

* add back _next routing for now

* try a mix of configs

* Fix service-worker serving

* Remove _next route

* Next 9

* move stuff back into /static

* fix service-worker

* don't use canary next builds

* static/banner.png -> static/brand/banner.png

* remove now-build script
5 years ago
Michael Fix 876fc24859
Minify local CSS files (#811)
* minify custom css files

* add .min to local CSS files
5 years ago
Mike Fix 43a7b5caf7 disable spellcheck on inputs 5 years ago
Mike Fix 1ded53f6bb use css composition instead of props 6 years ago
Mike Fix c967318194 don't show alpha on embed 6 years ago
Mike Fix e1147dd887 improve font-select min height 6 years ago
Michael Fix ae35f83d5f
only include tranparent row on Twitter upload (#797) 6 years ago
Mike Fix 3467e51bbb ensure smart indent is always true 6 years ago
Mike Fix fba004fa95 fix cursor with 'readonly'
Closes #791
6 years ago
Michael Fix a58a860332 fix firefox open export (#786) 6 years ago
Michael Fix 5acc71e2da
add keyboard listener for exporting (#777) 6 years ago
Mike Fix 7d65448428 upgrade dependencies 6 years ago
Mike Fix 7cb4740d04 fix codemirror stylesheets
- Closes #775
6 years ago
Michael Fix 22a0f9f2c1 Import/export config (#771)
* import export config

* allow rendering button as link

* pass all props to button component

* fix invalid JSON path

* prevent dragging download URL

* address concerns
6 years ago
Nato Boram b757687802 Add VSCode's theme (#769)
* add vscode theme

* pin Next.js version

* remove highlight only css fetches
6 years ago
Mike Fix cac72d79ff make export component use hooks 6 years ago
Megha Sachdev 75493ee557 Introducing Applitools (#762)
* Applitools (#1)

* Adding applitools

* adding data attributes for testing

* add applitools key
6 years ago
Mike Fix 7c7af92bce fix dropdown sort 6 years ago
Mike Fix 7a3930cae6 fix line number highlighting after mode changes
- Closes #764
6 years ago
Michael Fix 263249c2cd Highlight line numbers (#757)
* add line numbers container

* clean up code readability

* clean up carbon

* use onGutterClick instead

* extract onGutterClick

* tweaks
6 years ago
Michael Fix a13af0a1b7
Fix travis build 🤞 (#759)
* fix travis build

* fix broken build due to incorrect background picker className
6 years ago
Michael Fix 94b30c3c36
A11y improvements (#755)
* improve screen reading for menu values

* clean up Drop down component

* typo
6 years ago
Mike Fix 156e61c3ba fix embed URL button 6 years ago
Mike Fix 28a455eecc remove unused css 6 years ago
Mike Fix 29072fce92 fix issue from encoding breaking html highlighting after save
Closes #749
6 years ago
Mike Fix 0d816433a3 more navigation cue improvements 6 years ago
Mike Fix f7a73b568a improve keyboard navigation with escape to close 6 years ago
Mike Fix 52295cdd7c remove unused onBlur prop 6 years ago
Mike Fix aa52817a39 improve boolean prop for slider 6 years ago
Mike Fix fd27b509cd show hover background on focus too 6 years ago
Mike Fix f3f421707b radio button for windowtheme 6 years ago
Mike Fix 1a2bb3f6d7 improve menu bar tab-navigating 6 years ago
Mike Fix f5f53f17d6 fix bug that occurs when escape is hit on dropdowns 6 years ago
Mike Fix d4538305b9 update location origin for embeds 6 years ago
Mike Fix 4571857e69 make shades-of-purple local stylesheet 6 years ago
greenkeeper[bot] 31569fa164 Update escape-goat to the latest version 🚀 (#735)
* fix(package): update escape-goat to version 2.0.0

* chore(package): update lockfile yarn.lock

* fix naming for escape-goat

* use colornames packages
6 years ago
Mike Fix 011f25dc4f bug fix for creating custom themes 6 years ago
Mike Fix 31db484046 improve watermark contrast 6 years ago
raboid 796e8f8b33 add applyPreset back 6 years ago
raboid e0a650b021 close settings dialog on font upload 6 years ago
Mike Fix 3826344a7b fix accidental deletion 6 years ago
Mike Fix f5fe38ea88 make font styling work 6 years ago
Mike Fix eae24c397a reuse fileToDataUrl 6 years ago
raboid 7560520bbb custom fonts 6 years ago
Mike Fix 3540124819 bug fix for /embed/<gist> 6 years ago
Mike Fix 297c385fbb pass all props through to <input /> 6 years ago
Mike Fix ffbf512a38 clean up theme config derivation 6 years ago
Mike Fix 1994c820ea fix light theme in Carbon by introducing getTheme 6 years ago
Mike Fix dff5013edd move editor container into its own component 6 years ago
Mike Fix 47c30c1b7f fix up custom theme name input 6 years ago
Mike Fix 0db4a89e72 simplify theme state logic 6 years ago
Mike Fix 132c0f6d5a make filename input uncontrolled 6 years ago
Mike Fix ae9dde35c5 remove 'delete's 6 years ago
Mike Fix 48504ba1d0 use theme.light 6 years ago
Muhammad Muzzammil c53a3f0c97 Add dynamic color property for input 6 years ago
Muhammad Muzzammil e6d6a2b59d Add isColorLight function
https://github.com/muhammadmuzzammil1998/shiny-octo-doodle/blob/master/JavaScript/isColorLight.js
6 years ago
Muhammad Muzzammil b3c79f74df Remove color property of input 6 years ago
raboid cf34620e2f fix gDSFP warning 6 years ago
raboid 03b5b65613 fix spread 6 years ago
raboid 7226cd8601 use gDSFP 6 years ago
raboid 5f939ac3b4 cleanup 6 years ago
raboid 4dea566193 rework logic 6 years ago
raboid 8c2ce87c45 remove key 6 years ago
Mike Fix 1c1b1cb2f9 clean up 6 years ago
raboid 6f1f2a1cf1 state.name -> state.input 6 years ago
raboid d620f0d5aa replace updateTheme and updateHighlights with updateState 6 years ago
raboid e02bbc4832 address comments 6 years ago
raboid 10f2c3e390 remove ref 6 years ago
raboid 2ae529e404 support theme highlights in query string 6 years ago
Michael Fix afa63c3653
remove mutation observer (#723) 6 years ago
Michael Fix ebc488d51c
fix horizontal scroll bar for safari (#717) 6 years ago
Sean d4d0ef9949 update gist handling (#715)
* update gist handling

* address comments

* clean up a bit

* getRouteState(router)

* move try/catch into getGist

* updateQueryString -> updateRouteState

* clean up more

* add cypress tests

* delete comments

* remove wait
6 years ago
Konstantin Gorodinskiy eefc49b737 Fix language mime type lookup (#712)
* 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()
6 years ago
Mike Fix 248b61bcd5 correct pathname bug 6 years ago
Michael Fix b5ae198312
Fix Medium embedding workflow (#707)
* 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
6 years ago
Sean 69d12afc52 Add gist support to embed (#703)
* support gists in embed

* update GistContainer

* make init function have more generic naming
6 years ago
Michael Fix b2cb16a31f
Refactor disable PNG (#701)
* pull disabled state into ExportMenu

* use useOnline hook from the tacklebox
6 years ago
Mike Fix 33915d41c1 fix bug in Random image 6 years ago
Mike Fix 270cb0f5cd optimize react hooks 6 years ago
Mike Fix 9b69069279 remove double await 6 years ago
Michael Fix 9077260a3e
Read config from gist (optional) (#692)
* read config from gist

* Update api.js
6 years ago
Michael Fix 223bccd6b1
read all api calls from context (#691) 6 years ago
Mike Fix 4115020919 Strict mode preparations 6 years ago
Mike Fix 3187b6777a make titleBar uncontrolled 6 years ago
Joel Hanson 8d93c58fa6 Exported SVG is too large. (#683)
* 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+
6 years ago
Michael Fix e4d683e6d8
fix react hooks linting issues (#679) 6 years ago
Mike Fix d16df95bda use editor mount for loading instead of carbon's 6 years ago
Mike Fix 25828af37f fix up tweet button 6 years ago
Michael Fix 93c57d2b5d
debounce updating query string and localStorage (#664)
* debounce updating query string and localStorage

* memoize meta components

* fix tests
6 years ago
Mike Fix 3ed659e894 fix cdn backed styles links 6 years ago
Mike Fix 2d62122131 fix broken seti link 6 years ago
Mike Fix 7fd9ecf829 Update where spinner occurs 6 years ago
Mike Fix ec101f0ad2 preload experiment 6 years ago
raboid 4321c28609 center tweet and export buttons 6 years ago
Mike Fix 1f9f32f49b fix copy button styles 6 years ago
Mike Fix 608392b517 use forward ref in carbon 6 years ago
Mike Fix 6f687aeba5 move react crop stylesheet into component 6 years ago
Mike Fix ac23f432bc use hooks for RandomImage 6 years ago
Mike Fix 5dbed921d5 clean up editor state more with Spinner wrapper 6 years ago
Mike Fix 109adb4cb0 remove unused prop 6 years ago
Mike Fix eb8b3bdd49 move online/offline listeners into tweet button 6 years ago
Mike Fix f1fc330838 remove old Collapse component 6 years ago
Mike Fix 9cb4287a20 move tweet button into its own Comp w/ useAsyncCallback 6 years ago
Mike Fix 35ed5ae1e7 replace copy button with tacklebox's 6 years ago
raboid 40ba1e0f9e update meta 6 years ago
Mike Fix 7b20d8744a regex tweak 6 years ago
Mike Fix b7bc227522 clean up <Carbon/> - remove resize-observer 6 years ago
Mike Fix 7fe3f3415f Use new version of dropperx 6 years ago
Sean a89c320757 move and fix theme specific css (#649) 6 years ago
Michael Fix c842f34ef8
remove react-dnd dependencies + use react-dropzone instead (#648) 6 years ago
Mike Fix cacb93e09f fix issue #647
- Closes #647
6 years ago
raboid 5b6c760424 add missing theme css 6 years ago
Mike Fix f645791377 close drop down no matter how create theme menu is selected 6 years ago
Mike Fix 7f7e38dbc8 fix div button styles 6 years ago
Michael Fix 80122adea6
Use dynamic import components (#642)
* use dynamic import components

 - react-color components
 - Watermark

* Dynamically import modes

* revert next.config.js

* update language filter
6 years ago
Mike Fix de9574ef7c Accessability improvements 6 years ago
Sean a1e05af5c0 Custom themes (#632)
* Custom themes

* Fix theme selection

* fixes and add more theme highlights

* Fix remove bug

* change create button hoverBackground

* change id format

* fixes

* remove default highlights, style tweaks

* move consturctor to componentDidMount, create constants

* simplify color picker style api'

* replace notAllowed with disabled

* remove itemWrapperProps from Dropdown

* create itemWrapper class prop

* remove onClose from Dropdown

* fix ColorPicker and font sizes

* increase specificity of selector
6 years ago
Mike Fix f45d133d3c remove verifyPayloadSize from util 6 years ago
Mike Fix dbde17a65f reduce imports and exports 6 years ago
raboid 3aec3ebc28 Conditionally disable PNG export for Safari 6 years ago
Mike Fix 794a50d3f3 fix # issues for SVGs
Closes #640
6 years ago
Mike Fix 7896e96213 show presets by default 6 years ago
Mike Fix 642749a701 use escape-goat 6 years ago
Mike Fix cc45569b6c remove old mounted state from BackgroundSelect 6 years ago
Mike Fix cc593a7968 allow id's in <Button /> 6 years ago
Mike Fix 4d91c5d4c9 add ids back again 6 years ago
Mike Fix 469890df68 add pop id prop to fix integration tests 6 years ago
raboid 9d37f9bf99 use HOC for popout state, remove react-addons-shallow-compare 6 years ago
raboid 64cccc1d90 Move Presets into separate file 6 years ago
raboid fdaa990ab2 Remove title prop from Button 6 years ago
raboid bf26e34f06 Update Editor to use Button 6 years ago
raboid ee6f8ffdc2 Update ListSetting to use util/toggle 6 years ago
raboid e5b3d39d4e Update ExportMenu to use Popout, Button, Input 6 years ago
raboid 0c22633853 Update ImagePicker to use Input 6 years ago
raboid f51ab29cd1 Create Input component 6 years ago
raboid 6da617b553 Update Settings to use Popout & Button 6 years ago
raboid 7a5145135c Update Button component 6 years ago
raboid 583e4ece73 Update BackgroundSelect to use Popout & ColorPicker 6 years ago
raboid e073dec0cd Create ColorPicker component 6 years ago
raboid 36178adc07 Create Popout component 6 years ago
Mike Fix b12c3f802c lint and prettier 6 years ago
Mike Fix 428b4bd400 upgrade CodeMirror 6 years ago
Jake Dexheimer 231bd39169 minor ux fixes 6 years ago
Sean 5206dc4ef1 Reduce updates caused by typing (#604)
* 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
6 years ago
Jake Dexheimer 0aa1d7404f minor design improvements 6 years ago
Jake Dexheimer 4571b03eb4 clean up menu controls position, about page 6 years ago
Mike Fix b5a1052b40 remove unused utils, move specific utils into component files 6 years ago
Sean Rabaut cd81f056ca Fix menu button alignment in Firefox 6 years ago
Sean 0934186ce9 Fix setting menu movement (#602) 6 years ago
Sean f6f0adee6b Add preset feature (#595)
* 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
6 years ago
Mike Fix 4a00206526 fix filter regex for encoded characters
Closes #564 (again)
6 years ago
Mike Fix 90a0ead95b move format code into editor and make it work again 6 years ago
Mike Fix dd93b6af9e update export-menu-container 6 years ago
Mike Fix 109a3edc6b export-container -> export-menu-container" 6 years ago
Mike Fix a174c26067 fix another encoding bug...🤞
- Closes #564
6 years ago
Miloš Sutanovac 09397baf7b Adds CLI hooks (IDs) to certain elements (#592)
* Adds CLI hooks (ids) to certain elements

* Update Carbon.js

* Update ExportMenu.js
6 years ago
Jake Dexheimer 479e3b7bbf minor aesthetic tweaks 6 years ago
Sean eb8341b5bc add setting options back (#589)
* add setting options back

* fix height
6 years ago
Sean 070b7f8aaf New settings menu (#588)
* New settings menu

* remove showPresets

* clean

* use React.memo for pure function components
6 years ago
Mike Fix bb36e0062b fix tab characters in SVG
- closes #586
6 years ago
Sean 38665cc34d Dropdown updates (#585)
* Add dropdown icons

* remove cursor pointer from icons
6 years ago
Mike Fix 9b5b96cd58 remove unneeded sCU 6 years ago
Mike Fix 17c8036b34 tweak 6 years ago
Mike Fix 7772108f01 remove button option for dropdown 6 years ago
Sean 02debae7e2 increase button click area (#584) 6 years ago
Mike Fix 8087f0222f show network error in in imagepicker 6 years ago
Michael Fix 5badd2fbbb
remove timestamp (#583)
Clean up
6 years ago
Michael Fix 737cb979ae
implement background url support (#579)
* 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
6 years ago
Sean 68d90364b0 New export menu (#582)
* New export menu

* Fix lint errors
6 years ago
Sean 32e09c9e25 Increase dropdown border width (#581) 6 years ago
Sean 3248f82298
New checkmark icon (#580) 6 years ago
Michael Fix f4f23541ea
Create dark watermark (#577)
- Closes #575
6 years ago
Mike Fix 3b67c0a846 undo map even if conversion fails 6 years ago
Mike Fix 61ca421789 create Map of changes and undo them
- Closes #564
6 years ago
Mike Fix f184e711c1 fix encoding issue for plain text
- Closes #569
- Opens #564
6 years ago
Michael Fix 246a2f648f
fix(Editor): use cloned element for calculating width (#568)
- Closes #564
6 years ago
Michael Fix 6ab33153a8
Ability to name file downloads (#562)
* Ability to name file downloads

- Closes #561

* fix codemirror-graphql
6 years ago
Michael Fix 386b4a5bf5
Refactor list settings (#553)
* refactor list setting components

* remove mention of font
6 years ago
Mike Fix 01023bb1ad enable react in scope lint rule 6 years ago
Mike Fix 44356be373 make BackgroundSelect extend Component not Pure w/ custom update 6 years ago
Michael Fix 20df18ebec
tune component updates and bump codemirror polling to hit 60 Hz (#493)
* tune componenet updates and bump codemirror polling to hit 60 Hz

* reuse omit
6 years ago
Mike Fix 1067ab3429 Exports 6 years ago
zhao.zhang 2b6a91dfee feat: add atom one-light theme (#499) 6 years ago
Mike Fix 6babce42a9 make page a React components 6 years ago
Mike Fix deb0638e18 add TODO for theme specific styles 6 years ago
Mike Fix f79da0f7f0 fix solarized line numbers styling
- Closes #495
6 years ago
Mike Fix 7bab61ee81 Merge branch 'refactor-stylesheets' 6 years ago
Mike Fix 7c567412dc pull out getRef 6 years ago
Mike Fix 4321c3455f add aria labels 6 years ago
Mike Fix 1451ee2582 remove extra solarized link 6 years ago
Mike Fix 0b366d18f7 refactor stylesheets abstraction 6 years ago
Mike Fix 68469a4dbb rect needs ids 6 years ago
Michael Fix bd695b7fd1
convert ids to classNames, use refs (#488) 6 years ago
Mike Fix e8f72be402 lint 6 years ago
Mike Fix dbbbb2f33f fix Carbon <title> 6 years ago
Mike Fix 9a86e7e7c4 prepare 6 years ago
Mike Fix 8e13d2d05c allow editing in embeds 6 years ago
Mike Fix 25fa1eec6e update copy button text 6 years ago
Mike Fix 004ac6c902 hide cursor 6 years ago
Mike Fix 92a80429f3 move manifest to all pages 6 years ago
Mike Fix c0ff116de8 embeds
expose CodeMirrorLink, load only necessary theme in embed

implement copy button in Carbon window controls

add copy to queryParam

use next/head and metatags in /embed

make editor have router prop

fix now.json rewrites

allow local stylesheets in embed
6 years ago
Mike Fix 1d85149a97 fix api.image call logic 6 years ago
Michael Fix fa983f6fbe
Make carbon a stateless component, move highlight.js calc into render (#479)
* make carbon a stateless component, move highlight.js calc into render

* remove unneeded class function

* inline handleLanguageChange
6 years ago
Michael Fix 09fa737ca1
move localStorage.clear() to prop of Editor (#484) 6 years ago
Mike Fix 6fc3d2b5e1 use react-addons-shallow-compare for comparing state 6 years ago
Tim Neutkens 2e945fc528 Don't use custom history API (#485)
* Add shallowEquals check for onUpdate

* Using Next.js Router instead of custom history API

Fixes https://github.com/zeit/next.js/issues/4994

* Remove urlObject code
6 years ago
Mike Fix d41f05d9c1 update comment 6 years ago
Mike Fix d70c8f0c2a upgrade codemirror CDN links to 5.39.2 (patch) 6 years ago
Mike Fix 5b80d2a7bf add comment about <link rel='preload'> 6 years ago
Mike Fix b19bbf26ae Fix preload for Firefox 6 years ago
Mike Fix ded88c2e40 remove unused aria 'role' 6 years ago
Mike Fix d8f24bda48 add viewport meta tag 6 years ago
Michael Fix 6c9a09e522
Clean up (#481) (patch)
* clean up things

* introduce toggle fn

* remove constructor from Collapse (ignore)

* prettier (ignore)

* make Collapse a PureComponent (ignore)

* give ExportSizeSelect a display name (ignore)

* give ThemeSelect a display name (ignore)

* Toggle: displayName, PureComponent, remove constructor (ignore)

* Meta and Slider display names (ignore)

* remove ThemeSelect constructor (ignore)

* fix lint-staged, prettier
6 years ago
Mike Fix 584a866bc1 fix comment 6 years ago
Michael Fix d3462bb961
Make `api` a prop of Editor (#480) 6 years ago
Michael Fix c22a8e2a0d
Remove gDSFP in Carbon (#477)
* remove gDSFP in Carbon

* add comment
6 years ago