Skip to content

Conversation

@dwelle
Copy link
Member

@dwelle dwelle commented Jun 10, 2024

On paste, check if text is maybe a mermaid diagram. If so, try to parse it and insert as mermaid. Falls back to regular paste.

WIP

  • refactor
  • tests

@vercel
Copy link

vercel bot commented Jun 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
excalidraw ✅ Ready (Inspect) Visit Preview Jun 10, 2024 10:07pm
excalidraw-package-example ✅ Ready (Inspect) Visit Preview Jun 10, 2024 10:07pm
excalidraw-package-example-with-nextjs ✅ Ready (Inspect) Visit Preview Jun 10, 2024 10:07pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Jun 10, 2024 10:07pm

@github-actions
Copy link

github-actions bot commented Jun 10, 2024

Coverage Report

Status Category Percentage Covered / Total
🔴 Lines 65.65% (🎯 70%) 51515 / 78462
🔴 Statements 65.65% (🎯 70%) 51515 / 78462
🔴 Functions 66.69% (🎯 68%) 1568 / 2351
🟢 Branches 81% (🎯 70%) 6313 / 7793
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
packages/excalidraw/mermaid.ts 100% 100% 100% 100%
packages/excalidraw/components/App.tsx 69.79% 76.63% 68.39% 69.79% 481-482, 589-598, 697-698, 716-717, 738-798, 801-807, 810-813, 816-892, 895-914, 917-922, 930-940, 942-943, 948-949, 953-955, 969, 976-1237, 1297-1298, 1309-1310, 1338-1340, 1350-1395, 1421, 1431, 1438-1441, 1450-1454, 1485-1486, 1570-1580, 1585-1600, 1604-1651, 1724-1729, 1758-1763, 1766-1796, 1804-1829, 1832-1841, 1844-1956, 1959-1967, 1976-1989, 1992-2018, 2021-2092, 2095-2136, 2188-2189, 2203-2204, 2231-2232, 2236-2237, 2257-2265, 2270-2283, 2289-2290, 2295-2303, 2305-2313, 2325, 2366-2367, 2389-2390, 2397, 2466-2468, 2471-2476, 2481-2482, 2521-2529, 2534-2543, 2581-2582, 2669-2670, 2674, 2677-2678, 2686-2689, 2698-2711, 2717-2720, 2723, 2725-2726, 2733-2734, 2740-2741, 2744-2745, 2753-2754, 2757-2758, 2761-2764, 2775-2783, 2788-2789, 2839-2840, 2854-2860, 2866-2874, 2878-2886, 2890-2891, 2894-2927, 2930-2942, 2953-2954, 2965-2966, 2983-2987, 2991-2994, 3001-3003, 3021-3028, 3031, 3033-3038, 3042-3044, 3092-3093, 3100-3102, 3104-3127, 3153, 3159, 3215-3216, 3233-3235, 3257-3258, 3264-3267, 3273-3354, 3408, 3412, 3447-3448, 3507, 3517-3535, 3538-3544, 3547-3548, 3554-3567, 3653-3654, 3656-3657, 3662-3664, 3672-3673, 3696-3710, 3715-3734, 3786-3787, 3866, 3875-3876, 3878-3885, 3900-3904, 3915-3916, 3919-3923, 3925-3926, 3928-3931, 3956-3957, 3966-3968, 3970, 4053-4056, 4078-4080, 4090-4091, 4093-4113, 4116-4122, 4139-4142, 4148-4151, 4161-4168, 4208-4212, 4216, 4221-4222, 4227-4231, 4264-4265, 4268-4269, 4281-4285, 4290-4291, 4297-4307, 4312-4339, 4344-4355, 4419, 4445-4446, 4516-4522, 4605, 4630, 4656-4658, 4725-4726, 4741-4742, 4917-4918, 4921-4922, 4930, 4979-4983, 5034-5041, 5047-5113, 5157, 5209, 5236, 5243-5244, 5253-5256, 5287, 5335-5338, 5341-5347, 5349-5352, 5367-5376, 5379-5380, 5480-5481, 5484, 5486-5491, 5497-5499, 5501, 5510, 5532-5537, 5539-5542, 5546-5547, 5557-5657, 5661-5662, 5677-5678, 5711-5712, 5739-5740, 5773-5800, 5807-5808, 5830-5831, 5850, 5852-5895, 5900-5901, 5903-5904, 5920-5921, 5927-5928, 5932-5935, 5938-5939, 5953-5980, 5988-5989, 5993-5996, 5998-6002, 6020-6024, 6071-6076, 6078-6080, 6096, 6098-6111, 6136-6139, 6183, 6200-6201, 6203-6226, 6241-6242, 6353-6381, 6487-6488, 6508-6509, 6603, 6609-6610, 6633-6652, 6667, 6796, 6818-6856, 6860-6910, 6925, 6934, 6968-6974, 6989-6991, 7133-7136, 7160-7191, 7204, 7206-7214, 7228, 7230-7238, 7245-7248, 7256-7261, 7288-7289, 7294-7296, 7299-7300, 7325-7326, 7357-7358, 7441-7442, 7491-7504, 7570-7573, 7599-7600, 7636-7637, 7650, 7668-7674, 7681-7684, 7707-7713, 7785, 7791, 7806-7813, 7816-7823, 7879, 7956-7957, 7978-7980, 7983, 7997-8021, 8149-8173, 8183-8222, 8235-8236, 8245-8252, 8266-8279, 8292-8299, 8353-8379, 8381-8382, 8456-8457, 8464, 8466-8502, 8531, 8592, 8624-8626, 8651-8656, 8658-8659, 8664-8666, 8669-8689, 8703-8704, 8710-8719, 8724, 8728-8732, 8741-8745, 8748-8753, 8757-8764, 8794, 8796-8800, 8802-8812, 8828-8830, 8841-8849, 8853-8897, 8900-8971, 8979, 8997-9004, 9006-9022, 9037-9059, 9078-9080, 9125-9126, 9240-9244, 9246-9262, 9264-9268, 9280-9281, 9291-9307, 9326-9345, 9347-9348, 9375-9376, 9380-9381, 9391, 9393-9396, 9398-9399, 9439, 9460-9461, 9488, 9491, 9532, 9545-9553, 9570-9571, 9603-9606, 9699-9706, 9732-9733, 9776-9830, 9878-9879, 9888-9891, 9896-9897, 9918-9920, 9922-9926, 9964
Generated in workflow #2607

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants