Skip to content

Commit

Permalink
Add page links for replaceWith method pages (#35965)
Browse files Browse the repository at this point in the history
* Add page links in see more sections for replaceWith method pages

* Add others

---------

Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
jazzygasper and Josh-Cena authored Sep 20, 2024
1 parent c32a37e commit 8374946
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 4 deletions.
2 changes: 2 additions & 0 deletions files/en-us/web/api/characterdata/after/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ h1TextNode.data;

- {{domxref("CharacterData.appendData()")}}
- {{domxref("CharacterData.before()")}}
- {{domxref("DocumentType.after()")}}
- {{domxref("Element.after()")}}
- {{domxref("Element.append()")}}
- {{domxref("Node.appendChild()")}}
- {{domxref("Element.insertAdjacentElement()")}}
2 changes: 2 additions & 0 deletions files/en-us/web/api/characterdata/before/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ h1TextNode.data;

- {{domxref("CharacterData.appendData()")}}
- {{domxref("CharacterData.after()")}}
- {{domxref("DocumentType.before()")}}
- {{domxref("Element.before()")}}
- {{domxref("Element.append()")}}
- {{domxref("Node.appendChild()")}}
- {{domxref("Element.insertAdjacentElement()")}}
3 changes: 2 additions & 1 deletion files/en-us/web/api/characterdata/remove/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ textnode.remove(); // Removes the text

## See also

- {{domxref("Element.remove()")}}
- {{domxref("CharacterData.deleteData()")}}
- {{domxref("DocumentType.remove()")}}
- {{domxref("Element.remove()")}}
2 changes: 2 additions & 0 deletions files/en-us/web/api/characterdata/replacewith/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ text.replaceWith(em); // Replace `Some text` by `Italic text`
## See also

- {{domxref("CharacterData.replaceData()")}}
- {{domxref("DocumentType.replaceWith()")}}
- {{domxref("Element.replaceWith()")}}
2 changes: 2 additions & 0 deletions files/en-us/web/api/documenttype/after/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,5 @@ myDoc.childNodes;
## See also

- {{domxref("DocumentType.before()")}}
- {{domxref("CharacterData.after()")}}
- {{domxref("Element.after()")}}
2 changes: 2 additions & 0 deletions files/en-us/web/api/documenttype/before/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ myDoc.childNodes;
## See also

- {{domxref("DocumentType.after()")}}
- {{domxref("CharacterData.before()")}}
- {{domxref("Element.before()")}}
2 changes: 2 additions & 0 deletions files/en-us/web/api/documenttype/remove/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ document.doctype; // null
## See also

- {{domxref("Document.doctype")}}
- {{domxref("CharacterData.remove()")}}
- {{domxref("Element.remove()")}}
2 changes: 2 additions & 0 deletions files/en-us/web/api/documenttype/replacewith/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,6 @@ document.doctype.replaceWith(svg_dt);

## See also

- {{domxref("CharacterData.replaceWith()")}}
- {{domxref("Element.replaceWith()")}}
- {{domxref("CharacterData.replaceWith()")}}
4 changes: 3 additions & 1 deletion files/en-us/web/api/element/after/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ console.log(container.outerHTML);

- {{domxref("Element.before()")}}
- {{domxref("Element.append()")}}
- {{domxref("Node.appendChild()")}}
- {{domxref("Element.insertAdjacentElement()")}}
- {{domxref("CharacterData.after()")}}
- {{domxref("DocumentType.after()")}}
- {{domxref("Node.appendChild()")}}
- {{domxref("NodeList")}}
4 changes: 3 additions & 1 deletion files/en-us/web/api/element/before/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ console.log(container.outerHTML);

- {{domxref("Element.after()")}}
- {{domxref("Element.append()")}}
- {{domxref("Element.insertAdjacentElement()")}}
- {{domxref("CharacterData.before()")}}
- {{domxref("DocumentType.before()")}}
- {{domxref("Node.appendChild()")}}
- {{domxref("Node.insertBefore()")}}
- {{domxref("Element.insertAdjacentElement()")}}
- {{domxref("NodeList")}}
3 changes: 2 additions & 1 deletion files/en-us/web/api/element/remove/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ with (node) {

## See also

- [Polyfill](https://github.com/chenzhenxi/element-remove)
- {{domxref("CharacterData.remove()")}}
- {{domxref("DocumentType.remove()")}}
2 changes: 2 additions & 0 deletions files/en-us/web/api/element/replacewith/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ with (node) {

- {{domxref("Node.replaceChild()")}}
- {{domxref("NodeList")}}
- {{domxref("CharacterData.replaceWith()")}}
- {{domxref("DocumentType.replaceWith()")}}

0 comments on commit 8374946

Please sign in to comment.