-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enh/preview links #5399
Enh/preview links #5399
Commits on Mar 6, 2024
-
enh(nodes): introduce preview node
Use title attribute to mark previews in markdown. Introduce PreviewOptions component to add preview options for isolated links. If there's just one link in a paragraph you can turn it into a preview. Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94949bc - Browse repository at this point
Copy the full SHA 94949bcView commit details -
test(cy): make node test helpers available
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe74b7b - Browse repository at this point
Copy the full SHA fe74b7bView commit details -
enh(preview): togglePreview to return false when not possible
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d8c165 - Browse repository at this point
Copy the full SHA 0d8c165View commit details -
enh(Preview): split togglePreview in setPreview and unsetPreview
They actually need to do different things due to the different structure. On the one hand we have the preview node with plain text content. And on the other hand a paragraph node with the text wrapped in a link mark. Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9127692 - Browse repository at this point
Copy the full SHA 9127692View commit details -
test(preview): adjust jest tests
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fc7bb7 - Browse repository at this point
Copy the full SHA 1fc7bb7View commit details -
refactor(preview): use selection in the function args
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5453b33 - Browse repository at this point
Copy the full SHA 5453b33View commit details -
enh(preview): make use of setPreview without args
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eac2bf1 - Browse repository at this point
Copy the full SHA eac2bf1View commit details -
fix: get rid of link in preview to avoid popup
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75f5479 - Browse repository at this point
Copy the full SHA 75f5479View commit details -
fix(preview): hide tooltip for links in preview
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ee3cbd - Browse repository at this point
Copy the full SHA 1ee3cbdView commit details -
fix(preview): set selection inside the node
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 544bfb6 - Browse repository at this point
Copy the full SHA 544bfb6View commit details -
test(preview): do not run commands in Preview md test
They convert the node without changing the content resulting in an endless loop. Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd12e5a - Browse repository at this point
Copy the full SHA dd12e5aView commit details
Commits on Mar 7, 2024
-
Signed-off-by: Julius Härtl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fecb336 - Browse repository at this point
Copy the full SHA fecb336View commit details