Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Export core/serialization to Trix global#1110

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
manubo wants to merge1 commit intobasecamp:main
base:main
Choose a base branch
Loading
frommanubo:export-serialization

Conversation

@manubo
Copy link

@manubomanubo commentedNov 30, 2023
edited
Loading

Export core/serialization to the Trix global

This will allow to serialize the contents to HTML, e.g.:

consthtml=Trix.core.serialization.serializeToContentType(element,"text/html")

or

consthtml=Trix.core.serialization.serializeToContentType(element.editor.getDocument(),"text/html")

In version 1, serializers where also available via the Trix global, e.g.

consthtml=Trix.serializers["text/html"](document)

This PR will provide the same functionality for version 2.

@manubo
Copy link
Author

manubo commentedDec 4, 2023
edited
Loading

The tests failed on the CI with an error that seemed not related to the changes made. Locally, the tests execute successfully.

I pushed an empty commit to trigger CI again and would appreciate, if you could re-approve the test-workflow again, thanks!

@manubomanuboforce-pushed theexport-serialization branch 3 times, most recently from411f966 to2ed995bCompareJanuary 31, 2025 12:16
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@manubo

[8]ページ先頭

©2009-2025 Movatter.jp