Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit 6a55c38

Browse files
agarwalrounakfacebook-github-bot
authored andcommitted
Update link to Record in docs (#2418)
Summary: **Summary** Record in docs, wherever mentioned, links to http://facebook.github.io/immutable-js/docs/#/Record/Record which then redirects to https://immutable-js.github.io/immutable-js/ However, the correct link for Record is https://immutable-js.github.io/immutable-js/docs/#/Record Pull Request resolved: #2418 Reviewed By: elboman, claudiopro Differential Revision: D22785904 Pulled By: mrkev fbshipit-source-id: 225dedb2198b7e11023c2aa7eed75901d7c558bf
1 parent 31dde91 commit 6a55c38

5 files changed

+11
-8
lines changed

docs/APIReference-CharacterMetadata.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: CharacterMetadata
44
---
55

66
`CharacterMetadata` is an Immutable
7-
[Record](http://facebook.github.io/immutable-js/docs/#/Record/Record) that
8-
represents inline style and entity information for a single character.
7+
[Record](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Record)
8+
that represents inline style and entity information for a single character.
99

1010
`CharacterMetadata` objects are aggressively pooled and shared. If two characters
1111
have the same inline style and entity, they are represented with the same

docs/APIReference-ContentBlock.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: ContentBlock
44
---
55

66
`ContentBlock` is an Immutable
7-
[Record](http://facebook.github.io/immutable-js/docs/#/Record/Record) that
8-
represents the full state of a single block of editor content, including:
7+
[Record](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Record)
8+
that represents the full state of a single block of editor content, including:
99

1010
- Plain text contents of the block
1111
- Type, e.g. paragraph, header, list item

docs/APIReference-ContentState.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: ContentState
44
---
55

66
`ContentState` is an Immutable
7-
[Record](http://facebook.github.io/immutable-js/docs/#/Record/Record) that
8-
represents the full state of:
7+
[Record](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Record)
8+
that represents the full state of:
99

1010
- The entire **contents** of an editor: text, block and inline styles, and entity ranges.
1111
- Two **selection states** of an editor: before and after the rendering of these contents.

docs/APIReference-EditorState.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ title: EditorState
55

66
`EditorState` is the top-level state object for the editor.
77

8-
It is an Immutable [Record](http://facebook.github.io/immutable-js/docs/#/Record/Record)
8+
It is an Immutable
9+
[Record](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Record)
910
that represents the entire state of a Draft editor, including:
1011

1112
- The current text content state

docs/APIReference-SelectionState.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ id: api-reference-selection-state
33
title: SelectionState
44
---
55

6-
`SelectionState` is an Immutable [Record](http://facebook.github.io/immutable-js/docs/#/Record/Record) that represents a selection range in the editor.
6+
`SelectionState` is an Immutable
7+
[Record](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Record)
8+
that represents a selection range in the editor.
79

810
The most common use for the `SelectionState` object is via `EditorState.getSelection()`,
911
which provides the `SelectionState` currently being rendered in the editor.

0 commit comments

Comments
 (0)