I created a plugin (though not yet public since I'm still tinkering with stuff there) that fixes that hidden offline editor.
~https://perchance.org/better-offline-editor~
I'll roll it out for now.
This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.
Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)
This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.
See this post for the Complete Guide to Posting Here on the Community!
1. Please follow the Lemmy.World instance rules.
2. Be kind and friendly.
3. Be thankful to those who try to help you.
4. Only post about stuff related to perchance.
5. Refrain from requesting Prompts for the AI Tools.
text-to-image-plugin
and ai-text-plugin
) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"6. Search through the Community Before Posting.
I created a plugin (though not yet public since I'm still tinkering with stuff there) that fixes that hidden offline editor.
~https://perchance.org/better-offline-editor~
I'll roll it out for now.
it doesnt work, nothing shows up with #edit on the url, just like the default editor.
Can you link the generator you added it to? I'll download it and try.
I took a look at the downloaded code and it seems that the better-offline-editor
hasn't been saved on the generator (sometimes it takes a bit to 'sync' the saved generator to the server).
Saving it a few times, should add it.
nup, didn't do anything.
As of right now, I downloaded your generator and it added the offline editor.
Here is the old one
It works, thanks.
I have some suggestions for it:
I added a Dark Mode.
As for the tabs on the top, it is in fixed width if it is draggable since if it just expanded while draggable, it would cause overflow issues on the webpage. If you fix it on the top, it would resize/overflow depending on the screen size.
Also, the resize only works on the textareas, not the whole editor.
See this video: https://streamable.com/3mngs0.
@eatham Tried to download one of my old small generators, Power Name Generator 1.7 (https://perchance.org/power-name-1-7), and the editing function seems to work just fine. The generator is also fully working.
Interesting. Maybe it only works with old generators? I'll check some old ones I have when I'm at my computer
@eatham Probably the least complex ones, also tried with https://perchance.org/minimal and https://perchance.org/power-phrase-generator.
Both works well, the edit function worked on the minimal one, but for the phrase generator one, since it is scrollable, the edit function seems to be drowning somewhere outside the viewport of the page (so it is inaccessible).