1
0
Fork 0
Commit graph

9 commits

Author SHA1 Message Date
joostdecock
eded9e9d3a fix(core): Handle path splits on start or end points
In some edge cases, like when splitting a path on or very close to its
start or end point, `Path.split()` will return an array in which one of
the elements is not a Path object, but rather an empty array.

That is rather combersome to check for, so this changes that behaviour
and will return null for such cases.

I've also updated the documentation to clarify this behaviour.

Fixes #6816

This also fixes a bug when a path was being split on its end point.
2024-06-12 13:24:42 +02:00
Benjamin F
d1dc9feb66 fix(docs): Trim trailing whitespace and blank lines 2022-12-30 07:47:29 -08:00
Joost De Cock
9ddad408b0 chore: Updating final Path docs for v3 2022-09-29 17:50:53 +02:00
Joost De Cock
ede3c137bc chore(docs): Updated Path api docs for v3 2022-09-27 18:24:35 +02:00
Joost De Cock
265ad404da chore(markdown): Linting of dev docs 2022-02-19 08:04:25 +01:00
Joost De Cock
7bebd8cf07 fix(markdown): Move caption to children 2022-01-19 11:31:39 +01:00
joostdecock
cba1ab19c8 Revert "chore: Linting for markdown and js"
This reverts commit 1c92e0f655.
2021-10-17 18:26:00 +02:00
joostdecock
1c92e0f655 chore: Linting for markdown and js 2021-10-17 17:34:55 +02:00
Joost De Cock
b34a2ee2ed feat: Flat import of markdown repo
This is a flat (without history) import of (some of) the content
from our markdown module.

We've imported this without history because the repo contains our
blog posts and showcases posts content prior to porting them to strapi.

Since this contains many images, it would balloon the size of this repo
to import the full history.

Instead, please refer to the history of the (archived) markdown repo
at: https://github.com/freesewing/markdown
2021-08-25 16:09:31 +02:00