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

It seems that forcing lowercase letters makes it impossible to have uppercase letters in customer tags #56

Open
sparklog opened this issue Jul 26, 2024 · 0 comments

Comments

@sparklog
Copy link

 hello there,
I have create a function to handle checklist as following:

function checkLisParser(block: CheckListBlock) {
  const items = block.data.items;
  const parsedItems = items.map(item => (
    `<div class="flex">
      <Checkbox checked=${item.checked ? true : false} />
      <p>${item.text}</p>
    </div>`
  )).join('');
  const html = `<div>${parsedItems}</div>`;
  return html;

it works, however, the has been parsed to checkbox. Thus, I cannot use my component which I have created.

Is there sth I have missed? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant