CTFd icon indicating copy to clipboard operation
CTFd copied to clipboard

Challenge Preview Improvements

Open ColdHeat opened this issue 5 years ago • 2 comments

Challenge Preview should probably preview in the context of a full page. Primarily because it's easier to theme this.

ColdHeat avatar Oct 19 '20 03:10 ColdHeat

I think the solution here is to be able to link to what the public page would look like by linking directly to the public page.

The issue is fundamentally that the challenges page renders a lot of UI but there still isn't a standard entrypoint to render a challenge. Even if we were to just render the content into a faked challenges.html, we don't really have great control of the JS to jump in and render everything. Especially because we aren't exporting anything.

I don't think this can be solved with out a lot of JS rewrites....

ColdHeat avatar Mar 18 '21 06:03 ColdHeat

I don't think this is even worth tackling without CTFd.js. Pushing until then.

ColdHeat avatar Mar 18 '21 08:03 ColdHeat