Skip to content

Import classic editor content to FX Builder #3

@wolffe

Description

@wolffe

After the first switch from the classic editor to FX Builder, a meta field should be set, and the content imported.

The ajax_import_data() function can be used, with minor modifications, to allow passing a post ID and then building a fake JSON payload to simulate an import. After the first import, the content of the classic editor should be wiped, and the migrated meta field should be set to 1.

As a UX improvement, the classic editor tab can be hidden, if the migrated meta field is 1.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions