Skip to content

fix: say why scripts are refused and how a person adds one in the admin - #75

Merged
kevin1024 merged 1 commit into
mainfrom
script-guidance
Oct 9, 2026
Merged

kevin1024 merged 1 commit into
mainfrom
script-guidance

Conversation

@kevin1024

Copy link
Copy Markdown
Member

The API never saves <script>, so that text an agent reads cannot talk it into adding code to a site. The guide and help only said scripts are stripped.

  • Guide §21 (geekcli guide html) explains the reason and the workaround: a signed-in person opens the item's admin form, clicks the editor's code button and pastes the snippet. It lists the admin form for each kind of content.
  • posts create, footers update help and the README say the same in a line.

The API is getting an admin_url on the warning for a removed script (cincpro/rg2 #5134); the CLI already prints warning messages, so the link shows up without a CLI change.

@kevin1024
kevin1024 merged commit d670c6d into main Oct 9, 2026
10 checks passed
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

Successfully merging this pull request may close these issues.

1 participant