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

Commit

Permalink
Update link to Record in docs (#2418)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
agarwalrounak authored and facebook-github-bot committed Jul 28, 2020
1 parent 31dde91 commit 6a55c38
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/APIReference-CharacterMetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ title: CharacterMetadata
---

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

`CharacterMetadata` objects are aggressively pooled and shared. If two characters
have the same inline style and entity, they are represented with the same
Expand Down
4 changes: 2 additions & 2 deletions docs/APIReference-ContentBlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ title: ContentBlock
---

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

- Plain text contents of the block
- Type, e.g. paragraph, header, list item
Expand Down
4 changes: 2 additions & 2 deletions docs/APIReference-ContentState.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ title: ContentState
---

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

- The entire **contents** of an editor: text, block and inline styles, and entity ranges.
- Two **selection states** of an editor: before and after the rendering of these contents.
Expand Down
3 changes: 2 additions & 1 deletion docs/APIReference-EditorState.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ title: EditorState

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

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

- The current text content state
Expand Down
4 changes: 3 additions & 1 deletion docs/APIReference-SelectionState.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ id: api-reference-selection-state
title: SelectionState
---

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

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

0 comments on commit 6a55c38

Please sign in to comment.