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 a basic placeholder editor #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

montlikadani
Copy link
Owner

@montlikadani montlikadani commented Mar 7, 2022

TODO

  • Properly cache and save the created placeholders in the array
  • Use the exported placeholders const when parsing the provided text
  • After closing the dialog automatically replace the added placeholders if they are exists in the text area
  • Automatically increment key and replacement text field size when typing instead of a fixed size (MUI does not supports currently, I guess?)
    • If this happens the fields needs a minimum and maximum size
  • Save all these placeholders to local storage (including the default ones)
  • For many placeholders, scroll the dialog content instead of the entire page and leave the dialog title visible
  • Add remove all button (including a confirmation dialog (if needed))
  • Programmatically append placeholders using PlaceholderAPI resource (written in Java) in JavaScript
  • Other things?
  • Optimize
  • Test

We welcome PRs from anyone.

Preview
prev

@montlikadani montlikadani added the enhancement New feature or request label Mar 7, 2022
@montlikadani montlikadani self-assigned this Mar 7, 2022
@montlikadani montlikadani added the help wanted Extra attention is needed label Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add placeholder editor to append some basic variables in the preview
1 participant