excalidraw/excalidraw 21115
Virtual whiteboard for sketching hand-drawn like diagrams
jsxstyle/jsxstyle 1977
Inline style system for React and Preact
[DEPRECATED] Browserify transform for JSX (superset of JavaScript used in React library by Facebook)
Official blog of Excalidraw
petehunt/angularjs-tutorials 31
Fundoo Solution's AngularJS tutorials
hellojwilde/node-safebrowsing 8
(Work in progress.) Client for the Google Safe Browsing API v3.
push eventexcalidraw/excalidraw
commit sha 35d1c98d372f23c411b456f212d5dfdc1c517392
Auto commit: Calculate translation coverage
push time in 2 hours
push eventexcalidraw/excalidraw
commit sha 21964fdd6b56aac4bd20d12a301eac14fe70911f
New translations en.json (Japanese)
push time in 2 hours
issue openedexcalidraw/excalidraw
Excalidraw not load in shared Notion page
I am using Notion together with Excalidraw. So, I will have my work done on Excalidraw and then I embed the link from Excalidraw on Notion and it works fine. But when I try to share the Notion page through view-only link, the canvas that embeded does not load and I need to change the link access to (can-edit) and then click the view original option to load the canvas on Excalidraw itself. This can be quite inconvenient when I share my Notion page to others.
Here are some images:
- This is what I see in my notion workspace

- This is what people see when they use my notion page link

Thank you.
created time in 5 hours
push eventtwitter/twitter.github.io
commit sha 44b6c056dbad723d9284f5e239e4a816e9b907e0
deploy: 8ed86a97d10fe287968d436c3896fb5fceb805e1
push time in 6 hours
push eventtwitter/twitter.github.io
commit sha 8ed86a97d10fe287968d436c3896fb5fceb805e1
update data: Mon Jun 14 03:02:16 UTC 2021
push time in 6 hours
push eventexcalidraw/excalidraw
commit sha 9523ff8d87d7be56f9c3ef5b4935dcdac260c90d
Auto commit: Calculate translation coverage
push time in 14 hours
push eventexcalidraw/excalidraw
commit sha b566c3d73d050dc50d5a75527eabffbdc4e68aab
New translations en.json (Spanish)
push time in 14 hours
issue closedexcalidraw/excalidraw
The current solution of showing the save-icon next to darkMode when fileHandle is active is only temporary:

The idea is to reimplement part of @j-f1's proposal (https://github.com/excalidraw/excalidraw/pull/3381) to display active filename + save icon somewhere in the UI:
https://excalidraw.com/#json=5822182374506496,fu593dJLqIKnA22ochvbeg
Option (A)

Option (B)

closed time in 16 hours
dwellepush eventexcalidraw/excalidraw
commit sha 57139ac21165e4058133e2411d53c3fc17013768
Auto commit: Calculate translation coverage
push time in 16 hours
push eventexcalidraw/excalidraw
commit sha 4d733063d7db1eab01d62965017f88c270653415
New translations en.json (Kabyle)
push time in 16 hours
push eventexcalidraw/excalidraw
commit sha 6dee02e32062057cb5b18702f0b5fe1a3ef571fd
feat: expose fontfamily and refactor FONT_FAMILY (#3710) * feat: expose fontfamily and refactor FONT_FAMILY for better readability * fix * fix * fix * docs * fix
commit sha ba705a099a64255eabb8ee40b1cb192de646d18b
persist fileHandle to IDB across sessions
commit sha f5f4ec7528b2d45fbcbf2df527b817391af99a8e
remove `fileHandle` from IDB if user rejects permission
push time in 17 hours
push eventexcalidraw/excalidraw
commit sha d067365c1d948ab1850fcdbc4486c7a310cdf36e
chore(deps-dev): bump typescript in /src/packages/excalidraw (#3671) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit sha 083cb4c6567cf1dba4c01e76bb067ed9183d2110
chore(deps-dev): bump ts-loader in /src/packages/utils (#3712) Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.1.0 to 9.2.3. - [Release notes](https://github.com/TypeStrong/ts-loader/releases) - [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.1.0...v9.2.3) --- updated-dependencies: - dependency-name: ts-loader dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit sha e82d0493cfb13a282c53871240e3599dcbf769b2
chore(deps-dev): bump ts-loader in /src/packages/excalidraw (#3716) Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.1.0 to 9.2.3. - [Release notes](https://github.com/TypeStrong/ts-loader/releases) - [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.1.0...v9.2.3) --- updated-dependencies: - dependency-name: ts-loader dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit sha fd4460be3787088a5a46daecedc52aabb00cc9b9
feat: add hint around text editing (#3708)
commit sha 74a2f1650106335a6e400cceb9111176760cc2b9
feat: Show active file name when saving to current file (#3733) * feat: Show active file name when saving to current file * Make requested changes * More changes
commit sha 527989e5194b21bbbcbfe387ee9e7be00ca53691
persist fileHandle to IDB across sessions
commit sha 825e7af077a4d23773dc81b94668efee78d79cbc
remove `fileHandle` from IDB if user rejects permission
push time in 17 hours
push eventexcalidraw/excalidraw
commit sha 6dee02e32062057cb5b18702f0b5fe1a3ef571fd
feat: expose fontfamily and refactor FONT_FAMILY (#3710) * feat: expose fontfamily and refactor FONT_FAMILY for better readability * fix * fix * fix * docs * fix
push time in 17 hours
PR merged excalidraw/excalidraw
fixes https://github.com/excalidraw/excalidraw/issues/3608
pr closed time in 17 hours
issue closedexcalidraw/excalidraw
Expose FontFamily from package and refactor fontFamily for better readability
Right now the number corresponding to the font is stored in currentItemFontFamily, instead, we can start storing the font type handDrawn, normal, code which will be more clear and semantically correct as well.
We could store font name as well but that would lead to unnecessary breaking changes if some font is updated later for consumers hence storing font type will be better.
closed time in 17 hours
ad1992push eventexcalidraw/excalidraw
commit sha 74a2f1650106335a6e400cceb9111176760cc2b9
feat: Show active file name when saving to current file (#3733) * feat: Show active file name when saving to current file * Make requested changes * More changes
push time in 17 hours
PR merged excalidraw/excalidraw
Screenshots

Long file name

Closes
#3650
pr closed time in 17 hours
pull request commentexcalidraw/excalidraw
feat: Show active file name when saving to current file
shipping 🎉
comment created time in 17 hours
pull request commentexcalidraw/excalidraw
feat: Show active file name when saving to current file
I'd tweet it alongside https://github.com/excalidraw/excalidraw/pull/3717 once merged
comment created time in 17 hours
fork only4arunkumar/react-howto
Your guide to the (sometimes overwhelming!) React ecosystem.
fork in 19 hours
issue openedexcalidraw/excalidraw
I cant save the drawing in the notion after I open the full screen mode
created time in 19 hours
Pull request review commentexcalidraw/excalidraw
feat: expose fontfamily and refactor FONT_FAMILY
export const isWritableElement = ( export const getFontFamilyString = ({ fontFamily, }: {- fontFamily: FontFamily;+ fontFamily: FONT_FAMILY; }) => {- return `${FONT_FAMILY[fontFamily]}, ${WINDOWS_EMOJI_FALLBACK_FONT}`;+ for (const [fontFamilyString, id] of Object.entries(FONT_FAMILY)) {+ if (id === fontFamily) {+ return `${fontFamilyString}, ${WINDOWS_EMOJI_FALLBACK_FONT}`;+ }+ }+ return WINDOWS_EMOJI_FALLBACK_FONT;
I think it's ok to fall back to WINDOWS_EMOJI_FALLBACK_FONT for now as that gives a clear signal that font is not available instead of falling back to Virgil and this will only happen in case of package.
comment created time in 20 hours
push eventexcalidraw/excalidraw
commit sha 1d84b2568b7857824d2e392ffe725827628da1e1
More changes
push time in 20 hours
issue commentexcalidraw/excalidraw
It must have regressed as it's supposed to reposition itself to fit on screen. It should indeed fall back to scrollbar if it can't fit at all.
comment created time in 20 hours
Pull request review commentexcalidraw/excalidraw
feat: expose fontfamily and refactor FONT_FAMILY
export const isWritableElement = ( export const getFontFamilyString = ({ fontFamily, }: {- fontFamily: FontFamily;+ fontFamily: FONT_FAMILY; }) => {- return `${FONT_FAMILY[fontFamily]}, ${WINDOWS_EMOJI_FALLBACK_FONT}`;+ for (const [fontFamilyString, id] of Object.entries(FONT_FAMILY)) {+ if (id === fontFamily) {+ return `${fontFamilyString}, ${WINDOWS_EMOJI_FALLBACK_FONT}`;+ }+ }+ return WINDOWS_EMOJI_FALLBACK_FONT;
But if it's just one, two cases, then findKey() or something will work, too.
comment created time in 20 hours
Pull request review commentexcalidraw/excalidraw
feat: expose fontfamily and refactor FONT_FAMILY
export const isWritableElement = ( export const getFontFamilyString = ({ fontFamily, }: {- fontFamily: FontFamily;+ fontFamily: FONT_FAMILY; }) => {- return `${FONT_FAMILY[fontFamily]}, ${WINDOWS_EMOJI_FALLBACK_FONT}`;+ for (const [fontFamilyString, id] of Object.entries(FONT_FAMILY)) {+ if (id === fontFamily) {+ return `${fontFamilyString}, ${WINDOWS_EMOJI_FALLBACK_FONT}`;+ }+ }+ return WINDOWS_EMOJI_FALLBACK_FONT;
I think we should have a reverse map of Record<fontFamilyNumber, fontFamilyString> for this.
comment created time in 20 hours