Skip to content

Enhance embeddable campaign editor with assets and richer templates#14

Open
112-stack wants to merge 1 commit into
mainfrom
codex/build-no-code-campaign-editor-component-8hvko6
Open

Enhance embeddable campaign editor with assets and richer templates#14
112-stack wants to merge 1 commit into
mainfrom
codex/build-no-code-campaign-editor-component-8hvko6

Conversation

@112-stack

Copy link
Copy Markdown
Owner

Summary

  • refresh landing page copy and layout for ministry-grade embeddable campaign editor with embed snippet
  • expand editor with 120+ curated templates, brand asset tray, and in-block image uploads for attachments
  • update styling and README to highlight workflow, exports, and richer no-code capabilities

Testing

  • not run (not requested)

Codex Task

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +368 to +372
el.addEventListener('dragover', (e) => e.preventDefault());
el.addEventListener('drop', (e) => {
e.preventDefault();
const type = e.dataTransfer.getData('text/plain');
if (type) onDrop(type);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Drop handler bound repeatedly on canvas re-render

Each call to renderCanvas adds new dragover/drop listeners directly to the persistent canvas element without removing prior ones. Because render() calls renderCanvas after every change, those listeners accumulate; after the first drop renders a new state, the next drop from the palette will invoke onDrop multiple times and insert duplicate blocks (one per previous render). Bind the handler once or clear existing listeners before re-rendering to avoid duplicated block creation.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant