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

add support for website collections to the WYSIWYG editor #317

Open
3 tasks
Tracked by #309
alicewriteswrongs opened this issue Jun 9, 2021 · 1 comment
Open
3 tasks
Tracked by #309

Comments

@alicewriteswrongs
Copy link
Contributor

alicewriteswrongs commented Jun 9, 2021

Once we can edit and save website collections we want to be able to insert these lists into page content.

We'll do this by supporting inserting a collection into Markdown via a hugo shortcode.

Acceptance Criteria:

  • add custom 'Website Collection' node type, including Markdown shortcode ({{ websiteCollection $UUID }} ?)
  • add a rich preview to the WYSIWYG editor to show the editor what the rendered content will look like (roughly)
  • add support for rendering these shortcodes to relevant hugo themes (possibly using a public collections API on Studio to fetch data for them)
@alicewriteswrongs
Copy link
Contributor Author

if anyone else takes this on, the documentation I wrote here will hopefully be helpful!

https://github.com/mitodl/ocw-studio/blob/master/docs/ckeditor/plugin.md

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