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

Enhancement: Add linebreaks between tags #22

Open
NuclearVampire opened this issue Jul 20, 2019 · 7 comments
Open

Enhancement: Add linebreaks between tags #22

NuclearVampire opened this issue Jul 20, 2019 · 7 comments

Comments

@NuclearVampire
Copy link

(Note: In way over my head, fluent in no code)

Would it be possible to add the ability to add linebreaks between tags or groups of tags? I have minor dyslexia, so not having the ability to separate them into different groups in a meaningful way can reduce the entire text field to blur.

@ProximaNova
Copy link
Owner

Do you mean that when you open a page (at index.php?page=post&s=view&id=#) it would automatically add linebreaks between all tags (replace all spaces with linebreaks)? I think that might be doable with some variant of re: >\n;re;. I might have to code in that capability.

@NuclearVampire
Copy link
Author

Sorry, no, although that's a good idea too... I mean like being able to insert linebreaks where you would like them, whether via < br > or some other formatting.

@ProximaNova
Copy link
Owner

Which platform are you using?

With Gelbooru Beta 0.1.11 (used by booru.org) you can add linebreaks to the tag editing area (which is HTML textarea) without problems; with that software you can even submit it with linebreaks and the output will be fine. I could go on about other booru software and linebreaks in the tag editing area...

@NuclearVampire
Copy link
Author

Gelbooru, according to the mass uploader script I'm using. My site's through http://booru.org/, and initially I did try adding linebreaks via the tag editing area, however, the site loaded them for a half-second, and then overrode them and forced them into a format without linebreaks.

@ProximaNova
Copy link
Owner

ProximaNova commented Aug 2, 2019

Oh, so with the script active you can't press "Enter" to make multiple lines in the tag editing area in gelbooru.com without it undoing each time you pressed Enter.

Disregard the following text in this post.

So you want them to be grouped like they are grouped in Danbooru but in Gelbooru.com? That is possible.

With Danbooru tags they are grouped as follows. 1st line: copyright tag(s); 2nd line: character tag(s); 3rd line: artist tag(s); 4th line: meta tags; 5th line: general tag(s). This is seen in this compressed screenshot image of part of one of Danbooru's web pages:

6duwLY4vIgFI (1)

@ProximaNova
Copy link
Owner

So you are using gelbooru.com. Are you using Mozilla Firefox or Google Chrome?

@NuclearVampire
Copy link
Author

NuclearVampire commented Aug 21, 2019

Hi, sorry, had a chronic illness flare, and went down for the count for a bit.

Honestly it really doesn't need to be like danbooru, more just the linebreaks, since I have tags sorted into groups, like so:

<>/STUFF<> Alcohol Food Gun Implied_drug_use <>/APPARAL<> Apron Binder Cape Costume Crossdressing Heels Legislacerator ect, and if I could just. Put a linebreak between different groups it would make it significantly easier.

<>/STUFF<> Alcohol Food Gun Implied_drug_use
<>/APPARAL<> Apron Binder Cape Costume Crossdressing Heels Legislacerator

Like so.

I use chrome for the booru, as firefox seems to have issues with scripts more.

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

2 participants