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

Use Playground for live code editor in docs #467

Closed
3 tasks
ifiokjr opened this issue Aug 11, 2020 · 1 comment
Closed
3 tasks

Use Playground for live code editor in docs #467

ifiokjr opened this issue Aug 11, 2020 · 1 comment
Labels
type: docs 📝 Documentation related changes. type: playground 🕹️ Issues that affect the playground specifically. type: support 📚 A change focused on improving the architecture and structure of the support directory.
Milestone

Comments

@ifiokjr
Copy link
Member

ifiokjr commented Aug 11, 2020

Description

Currently, when creating a code block in the documentation it can be made editable. In this state it defaults to using docusaurus' react-live component.

There are many benefits to using the playground as the editor. It supports both JavaScript and Typescript and allows for more natural editing of the code.

Tasks

  • Modularise the playground editor into 4 sections: code, display, editable json and a configuration module.
  • Make a live editor using only the code and display sections.
  • Reduce loading times and pre-bundle @babel/standalone.
@ifiokjr ifiokjr created this issue from a note in remirror@1.0.0 (To do) Aug 11, 2020
@ifiokjr ifiokjr added type: docs 📝 Documentation related changes. type: playground 🕹️ Issues that affect the playground specifically. type: support 📚 A change focused on improving the architecture and structure of the support directory. labels Aug 11, 2020
@ifiokjr ifiokjr added this to August: 2020-08-30 (Week) in Internal Roadmap Aug 12, 2020
@ifiokjr ifiokjr added type: support 📚 A change focused on improving the architecture and structure of the support directory. and removed type: support 📚 A change focused on improving the architecture and structure of the support directory. labels Aug 12, 2020
@ifiokjr ifiokjr removed this from To do in remirror@1.0.0 Aug 12, 2020
@ifiokjr ifiokjr added this to the Playground Promotion milestone Aug 16, 2020
@ifiokjr ifiokjr moved this from September: 2020-09-26 (Month) to September: 2020-09-06 (Week) in Internal Roadmap Aug 23, 2020
@ifiokjr ifiokjr moved this from September: 2020-09-27 (Week) to October: 2020-10-25 (Month) in Internal Roadmap Sep 28, 2020
@ocavue
Copy link
Member

ocavue commented Oct 14, 2021

Closing this because the playground has been deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs 📝 Documentation related changes. type: playground 🕹️ Issues that affect the playground specifically. type: support 📚 A change focused on improving the architecture and structure of the support directory.
Development

No branches or pull requests

2 participants