Skip to content
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

docs: loadContent clarification #2989

Merged
merged 1 commit into from
Sep 12, 2022
Merged

docs: loadContent clarification #2989

merged 1 commit into from
Sep 12, 2022

Conversation

ly3xqhl8g9
Copy link
Contributor

The documentation on saving/loading editor state is unclear what kind of data is expected from the initialEditorState which leads to confusion as in #1937. Mocked-up the loadContent function to return an 'empty' initial editor state to make it clear.

@facebook-github-bot
Copy link
Contributor

Hi @ly3xqhl8g9!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@vercel
Copy link

vercel bot commented Sep 10, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Sep 10, 2022 at 10:18AM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Sep 10, 2022 at 10:18AM (UTC)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 10, 2022
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

1 similar comment
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

Copy link
Member

@zurfyx zurfyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@zurfyx zurfyx merged commit 7e27e56 into facebook:main Sep 12, 2022
acywatson added a commit that referenced this pull request Sep 13, 2022
* fix (#2956)

* Add table cell menu back (#2958)

* fix (#2957)

* fix typo on read-mode / edit-mode page (#2962)

Co-authored-by: Christian Ratz <christian.ratz@b-ite.de>

* Fix link breaking when formatting on (#2954)

* Fix link breaking when formatting on

* nodeFormat to const

* retry checks

* allow escaped markdown within TextFormatTransformer (#2964)

Co-authored-by: Christian Ratz <christian.ratz@b-ite.de>

* Fix bugs with isEditable (#2967)

* Fix bugs with isEditable

* Revise

* Add empty comment in front of 'export' in a bundled file (#2970)

* Automated releases (#2949)

* change to using package.json in root as pinned version

* wip automated release workflow with manual triggerl

* change release script

* Fix build script

* checkout new branch

* release on push to next

* no accidental releases

* release on push to latest

* fix yaml

* fix yaml

* fix yaml

* remove unnecessary

* remove unnecessary

* prettier

* Update collab errors, related cleanup (#2971)

* install (#2972)

* Improve docs around the React plugins page (#2976)

* Improve docs around the React plugins page

* Improve docs around the React plugins page

* config (#2977)

* Clean up redundant newlines during pasting (#2969)

* Cleanup newlines unless its preformatted element

* Update docs

* push config (#2979)

* add ssh key

* add back config

* merge from main

* merge from main

* fix versioning for ff merge (#2983)

* remove ff merge from release (#2984)

* Fixed exportDOM for paragraph node (#2981)

* export DOM for paragraph node

* Fixed export DOM for paragraph node

* docs: Fix URL of rich-text and plain-text (#2985)

* docs: loadContent clarification (#2989)

* Fix insert column header bug (#2995)

* Fix WWW import rewrite for React (#2996)

* bad toc types

* fix react rename

* Fix www exports (#2994)

* [Automated Releases] Add logging and dry run to release script (#2986)

* add logs to release script

* add dry run to release script

* adjust dry run script

* add tag

* dont paginate changelog output

* auto-update changelog

* fix changelog

* fix import

* async

* cleanup

* fix

* fix

* Add DEPRECATED prefix to Grid APIs (#2966)

* Rm unused helpers from older markdown code (#2998)

* ElementNode -> isTopLevel() (#3001)

* Capture pendingDecorators after garbage collecting detached decorators (#2999)

* v0.4.2-next.0

Co-authored-by: Tyler Bainbridge <tyler@tylerbainbridge.com>
Co-authored-by: Christian Ratz <2630316+digitalgopnik@users.noreply.github.com>
Co-authored-by: Christian Ratz <christian.ratz@b-ite.de>
Co-authored-by: Patrick McCullough <57294106+pgmccullough@users.noreply.github.com>
Co-authored-by: Dominic Gannaway <trueadm@users.noreply.github.com>
Co-authored-by: Maksim Horbachevsky <fantactuka@gmail.com>
Co-authored-by: Hafiz <muhamm3dhafiz@gmail.com>
Co-authored-by: kimulaco <11986753+kimulaco@users.noreply.github.com>
Co-authored-by: ly3xqhl8g9 <ly3xqhl8g9@plurid.com>
Co-authored-by: Gerard Rovira <zurfyx@users.noreply.github.com>
Co-authored-by: Adrien Wald <adrien@genei.io>
Co-authored-by: Lexical GitHub Actions Bot <>
@zurfyx zurfyx mentioned this pull request Sep 23, 2022
acywatson pushed a commit that referenced this pull request Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants