Commit Graph

  • b314b939b2 checkpoints zsviczian 2023-04-03 21:14:31 +02:00
  • bc687fea1b log renderScene zsviczian 2023-04-03 21:08:18 +02:00
  • e15f313fe7 debug zsviczian 2023-04-03 20:59:37 +02:00
  • 9f02922c91 attempt at catching the point before freeze zsviczian 2023-04-03 20:52:21 +02:00
  • 2b6819eb2d fix canvas too large zsviczian 2023-04-03 20:19:13 +02:00
  • c0e9b8d7bc
    Update renderElement.ts zsviczian 2023-04-03 19:35:28 +02:00
  • c8c683c025
    Update renderElement.ts zsviczian 2023-04-03 19:28:53 +02:00
  • 2117fbbc57
    Update renderElement.ts zsviczian 2023-04-03 19:26:25 +02:00
  • 1c66f85ec9 lint Aakansha Doshi 2023-04-03 17:58:17 +05:30
  • a0b968c8e0 fix for safari Aakansha Doshi 2023-04-03 17:15:29 +05:30
  • 3a68f0ae7b fix safari backward compat Aakansha Doshi 2023-04-03 16:35:40 +05:30
  • 3b9953f57f
    link zsviczian 2023-04-03 12:15:11 +02:00
  • 7d1efb7f8b
    Attempt at implementing #4036 zsviczian 2023-04-03 12:05:19 +02:00
  • c0e88fbc54 update baseline when resizing text element Aakansha Doshi 2023-04-01 13:08:02 +05:30
  • 99500fc255 fix Aakansha Doshi 2023-03-31 16:15:32 +05:30
  • bc5e5e1ef0 lint Aakansha Doshi 2023-03-31 16:04:49 +05:30
  • 50ac3bf855 Merge remote-tracking branch 'origin/master' into aakansha-baseline Aakansha Doshi 2023-03-31 16:01:52 +05:30
  • 2ea883a05e fix Aakansha Doshi 2023-03-31 15:56:49 +05:30
  • f8b25375a4 introduce baseline in element making it backward compat Aakansha Doshi 2023-03-31 15:53:03 +05:30
  • 974745b9e5 introduce DOM baseline in canvas rendering instead Aakansha Doshi 2023-03-31 11:50:04 +05:30
  • 9dab749dfd [debug] dwelle 2023-03-30 14:11:51 +02:00
  • 895f35ae18 change offset to 8pixels Aakansha Doshi 2023-03-30 16:31:11 +05:30
  • d2b8f4d2f8
    fix: getDefaultLineHeight should return default font family line height for unknown font (#6399) Coyote 2023-03-30 03:16:23 +08:00
  • f8e65bb77e
    fix: Revert use ideographic textBaseline to improve layout shift when editing text" (#6400) Aakansha Doshi 2023-03-29 18:53:03 +05:30
  • 3030e96d62
    feat: starting migration from GA to Matomo for better privacy (#6398) Milos Vetesnik 2023-03-29 11:13:06 +02:00
  • 79be25fbc0 Merge remote-tracking branch 'origin/master' into aakansha-baseline Aakansha Doshi 2023-03-29 14:16:22 +05:30
  • 44453b725d
    fix: call stack size exceeded when paste large text (#6373) (#6396) dongfang 2023-03-29 16:15:30 +08:00
  • 1dbc599b88 uncomment Aakansha Doshi 2023-03-28 14:03:04 +05:30
  • fc80fd15dc fix: introduce baseline to fix the layout shift when switching to text editor Aakansha Doshi 2023-03-28 13:48:34 +05:30
  • ba951b9a03 [debug] disable image tool to test dwelle/support-disabling-image-tool dwelle 2023-03-26 12:50:32 +02:00
  • 6fb5c2acda Merge branch 'master' into dwelle/support-disabling-image-tool dwelle 2023-03-26 12:51:46 +02:00
  • 25bb6738ea
    feat: Add fitToContent and animate to scrollToContent (#6319) Type Horror 2023-03-25 15:26:58 -07:00
  • 9e52c30ce8
    fix: use ideographic textBaseline to improve layout shift when editing text (#6384) David Luzar 2023-03-22 18:33:37 +01:00
  • 993294ac08
    typo aakansha-refact Aakansha Doshi 2023-03-22 16:33:28 +05:30
  • f584416c9a lint Aakansha Doshi 2023-03-22 16:16:25 +05:30
  • 87b0c7a679 remove unused method Aakansha Doshi 2023-03-22 15:13:09 +05:30
  • ee8fff8e8b rename getApproxMinLineWidth -> getApproxMinContainerWidth and getApproxMinLineHeight -> getApproxMinContainerHeight Aakansha Doshi 2023-03-22 14:55:51 +05:30
  • b799490ece Merge remote-tracking branch 'origin/master' into aakansha-refact Aakansha Doshi 2023-03-22 12:43:29 +05:30
  • 83383977f5
    feat: add line height attribute to text element (#6360) Aakansha Doshi 2023-03-22 11:32:38 +05:30
  • ac4c8b3ca7
    fix: chrome crashing when embedding scene on chrome arm (#6383) David Luzar 2023-03-21 18:48:49 +01:00
  • 5c8941467d
    fix: division by zero in findFocusPointForEllipse leads to infinite loop in wrapText freezing Excalidraw (#6377) zsviczian 2023-03-20 13:20:09 +01:00
  • 0726911fa6
    fix: containerizing text incorrectly updates arrow bindings (#6369) Samyat Gautam 2023-03-18 11:00:28 -04:00
  • 2d3b9e0c66 fix: Properly avoid concurrent invocations of loadMathJax(). Daniel J. Geiger 2023-03-18 09:52:44 -05:00
  • bdb0dd064b Merge remote-tracking branch 'origin/release' into danieljgeiger-mathjax Daniel J. Geiger 2023-03-17 11:19:18 -05:00
  • c447c4e245 fix: text element should be rendered correctly when pasted to a version before measurements change aakansha-fix-text-element Aakansha Doshi 2023-03-17 16:14:46 +05:30
  • fd18896293 remove unused function getMinCharWidth Aakansha Doshi 2023-03-15 12:24:53 +05:30
  • e900cb0b64 move measurements related utils to textMeasurements.ts Aakansha Doshi 2023-03-15 12:20:31 +05:30
  • 7e330c8ee1
    build(deps-dev): bump webpack from 5.73.0 to 5.76.0 in /src/packages/utils (#6354) dependabot[bot] 2023-03-15 11:04:13 +05:30
  • 7d21747644
    build(deps-dev): bump webpack from 5.73.0 to 5.76.0 in /src/packages/excalidraw (#6355) dependabot[bot] 2023-03-15 11:04:01 +05:30
  • e718136aea
    build(deps): bump webpack from 5.74.0 to 5.76.1 in /dev-docs (#6356) dependabot[bot] 2023-03-15 11:03:40 +05:30
  • 54bf3d9092 fix Aakansha Doshi 2023-03-14 20:43:51 +05:30
  • 15f19835fe rename Aakansha Doshi 2023-03-14 19:59:58 +05:30
  • 96c4cff805 Merge remote-tracking branch 'origin/master' into aakansha-refact Aakansha Doshi 2023-03-14 19:46:42 +05:30
  • fe83e2922d
    build: move TS and types to devDependencies (#6346) Salah Eddine Daci 2023-03-14 13:06:57 +01:00
  • 20edddcd4e
    fix: ensure export preview is centered (#6337) David Luzar 2023-03-14 13:03:55 +01:00
  • f6e8be399e
    fix: hide text align for labelled arrows (#6339) Aakansha Doshi 2023-03-14 17:21:46 +05:30
  • ab49cad6b1
    perf: break early if the line width <= max width of the container (#6347) Aakansha Doshi 2023-03-14 17:18:16 +05:30
  • 6aeb18b784
    fix: refresh dimensions when elements loaded from shareable link and blob (#6333) Aakansha Doshi 2023-03-14 17:08:23 +05:30
  • b17ed4dc29 fix: Don't cache wrapped text before MathJax finishes loading. Daniel J. Geiger 2023-03-13 13:01:52 -05:00
  • b988f67759 fix: Better legibility when editing some math elements. Daniel J. Geiger 2023-03-13 12:57:33 -05:00
  • 089aaa8792 Merge remote-tracking branch 'origin/release' into danieljgeiger-mathjax Daniel J. Geiger 2023-03-13 11:33:26 -05:00
  • 023313e92f
    fix: show error message when measureText API breaks in brave (#6336) Aakansha Doshi 2023-03-13 19:46:09 +05:30
  • 1eee488dab
    feat: add thai lang support (#6314) David Luzar 2023-03-11 22:15:52 +01:00
  • 1ac580136d fix Aakansha Doshi 2023-03-09 18:14:45 +05:30
  • dd4c333925
    fix: add an offset of 0.5px for text editor in containers (#6328) Aakansha Doshi 2023-03-09 13:07:36 +05:30
  • c1f8eca7de
    Update textWysiwyg.tsx zsviczian-fix-6318 zsviczian 2023-03-07 09:57:23 +01:00
  • 340b9757c3
    Update textWysiwyg.tsx zsviczian 2023-03-07 09:54:50 +01:00
  • 6035ebe95f added comment zsviczian 2023-03-06 23:45:54 +01:00
  • 1a877fa8c7 magicOffset only for Firefox and Safari zsviczian 2023-03-06 23:45:11 +01:00
  • 956228f4a1 moved offset to onEditableInput zsviczian 2023-03-06 23:38:35 +01:00
  • cfb9f8d8c7 onInput zsviczian 2023-03-06 22:24:00 +01:00
  • da06e8ad27 apply offset only if in container zsviczian 2023-03-06 21:52:02 +01:00
  • 27c7e75761 lint zsviczian 2023-03-06 21:37:37 +01:00
  • 2b8d69c65d lint zsviczian 2023-03-06 21:35:23 +01:00
  • 6d071a8a13 magicOffset zsviczian 2023-03-06 21:28:48 +01:00
  • 2abc4c2ac1 don't decrease height beyond min height aakansha-disable-scaling-boundtext Aakansha Doshi 2023-03-06 23:33:39 +05:30
  • 28261c4b29 Merge remote-tracking branch 'origin/release' into danieljgeiger-mathjax Daniel J. Geiger 2023-03-06 09:06:55 -06:00
  • 9025ad99fc Add tests Aakansha Doshi 2023-03-06 16:47:08 +05:30
  • 357a1c47f6 Merge remote-tracking branch 'origin/master' into aakansha-disable-scaling-boundtext Aakansha Doshi 2023-03-06 15:51:40 +05:30
  • 752c7cf66e add utility to compute container coords from bound text Aakansha Doshi 2023-03-06 15:40:14 +05:30
  • 83780b91d2 rename getContainerCoords -> computeBoundTextElementCoords Aakansha Doshi 2023-03-06 15:31:38 +05:30
  • fefd377408 fix coords when bound text height overflows during shift resize Aakansha Doshi 2023-03-06 15:27:02 +05:30
  • d3d7244993 wrap text when resizing vertically with shift Aakansha Doshi 2023-03-06 12:09:11 +05:30
  • df9af0052d feat: support disabling image tool dwelle 2023-03-05 22:59:01 +01:00
  • 8542c95a7a
    fix: move utility types out of .d.ts file to fix exported declaration files (#6315) David Luzar 2023-03-04 19:21:57 +01:00
  • cef6094d4c
    fix: more jotai scopes missing (#6313) David Luzar 2023-03-03 16:19:02 +01:00
  • 3322f0fa6f
    build(deps): bump @sideway/formula from 3.0.0 to 3.0.1 in /dev-docs (#6309) dependabot[bot] 2023-03-03 14:45:29 +01:00
  • 34a7d48b95
    fix: provide HelpButton title prop (#6209) Omar Brikaa 2023-03-03 14:50:18 +02:00
  • 5c0b15ce2b
    fix: respect text align when wrapping in a container (#6310) Aakansha Doshi 2023-03-03 18:07:26 +05:30
  • 9f9666110e
    chore: Add debug flag to enable text container bounding box (#6296) Aakansha Doshi 2023-03-03 18:01:55 +05:30
  • 05ffce62ef
    build(deps): bump dns-packet from 5.3.1 to 5.4.0 in /src/packages/excalidraw (#6305) dependabot[bot] 2023-03-03 13:20:53 +01:00
  • 0f06fa3851
    feat: create bound container from text (#6301) Aakansha Doshi 2023-03-03 17:40:42 +05:30
  • 1ce933d2f5
    fix: compute bounding box correctly for text element when multiple element resizing (#6307) Aakansha Doshi 2023-03-03 17:34:11 +05:30
  • 15655acb5a
    fix: use jotai scope for editor-specific atoms (#6308) David Luzar 2023-03-03 12:58:36 +01:00
  • b3068a5248 fix Aakansha Doshi 2023-03-01 20:21:02 +05:30
  • d5b264c2d2
    build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /dev-docs (#6192) dependabot[bot] 2023-03-01 14:51:36 +05:30
  • 8c89fdfa51 lint Aakansha Doshi 2023-03-01 13:41:20 +05:30
  • 0e54994187 rename to getLineHeight and use the same line height for regular text elements Aakansha Doshi 2023-03-01 13:38:03 +05:30
  • caa22dd4c3 lint Aakansha Doshi 2023-02-28 20:49:48 +05:30
  • 78e5816459 fix Aakansha Doshi 2023-02-28 20:45:48 +05:30