Skip to content

Add Markdown editor field type for editing text #273

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

Open
lane711 opened this issue Mar 25, 2025 · 2 comments
Open

Add Markdown editor field type for editing text #273

lane711 opened this issue Mar 25, 2025 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed in progress

Comments

@lane711
Copy link
Owner

lane711 commented Mar 25, 2025

This will be used for editing content such as blog post body content.

We need to find a suitable open source markdown editor such as:

  1. https://github.com/marktext/marktext
  2. https://mdxeditor.dev/

Developers will need to be able to specify that they want to use the markdown editor while editing certain fields, ie:

export const fields: ApiConfig["fields"] = {
  body: {
    type: "mdxEditor",
  },
}
@lane711 lane711 added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Mar 25, 2025
@PeteJStewart
Copy link

I'll make a start on this feature.
@lane711 Are there any specific parts of the code you can point me to for this feature, such as tests or examples of other custom field type?

@lane711
Copy link
Owner Author

lane711 commented Mar 26, 2025

@lane711 lane711 moved this to Backlog in SonicJs Kanban Mar 31, 2025
@lane711 lane711 moved this from Backlog to In progress in SonicJs Kanban Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed in progress
Projects
Status: In progress
Development

No branches or pull requests

2 participants