Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add parsing method to transform html into a configuration

Open
#3 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by reviewing issue #2 for the component HTML and comment format, then inspect the repository to locate existing component serialization or parsing entry points. The work is complete when parseHtmlToComponent() returns a JSON configuration for a serialized component, including nested children and comments.

Written by the indexing model from the issue text.

Description

We need a parseHtmlToComponent() method which can read a component serialized as html (including comments; see #2) and return a JSON configuration for that component (and its children!).

Dominant language
JavaScript
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/component-engine

All issues in Automattic/component-engine

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.