15 Commits (6f1f2a1cf16fcf983d837b2b4cc5fae74e717086)

Author SHA1 Message Date
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
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
Mike Fix 608392b517 use forward ref in carbon 6 years ago
Mike Fix b7bc227522 clean up <Carbon/> - remove resize-observer 6 years ago
Mike Fix 9284f601e5 separate messages 6 years ago
Mike Fix fd37d6f0fa post message 6 years ago
Mike Fix f149e115d5 prefix postMessage id with carbon: 6 years ago
Mike Fix e45bbd8a25 postMessage to parent window 6 years ago
Mike Fix c246b5c45d remove unnecessary div 6 years ago
Mike Fix 0b366d18f7 refactor stylesheets abstraction 6 years ago
Mike Fix dbbbb2f33f fix Carbon <title> 6 years ago
Mike Fix 8e13d2d05c allow editing in embeds 6 years ago
Mike Fix 004ac6c902 hide cursor 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