-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: block anchors attached to code blocks in publishing (#1267)
* fix: block anchors attached to code blocks in publishing * fix: wrap top-level anchor to avoid on hover of all content Without wrapping, the top-level anchors we install for code blocks would always appear wherever the user was hovering over on the page. Now it will only appear when the user hovers over where the anchor should be. This makes them less discoverable on published pages, but I can't find a better solution. * spike: fix bad imports
- Loading branch information
Kaan Genç
committed
Sep 2, 2021
1 parent
6498972
commit 6b3c71c
Showing
5 changed files
with
91 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...e-test-utils/src/__tests__/engine-server/markdown/__snapshots__/blockAnchors.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters