LJ
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
i'm wondering if i can get grid to do my bidding. grid is new to me. is flex slightly older?
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
in your example, if you give
td
the style display: inline-flex;
it looks right but still copies wrong83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
not everything ; )
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
thanks for trying user-select. i didn't know it changed the behavior of copying from table-cell.
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
right but inline-block somehow is handled differently. it sucks that being able to center text is tied to the clipboard behavior.
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
when using inline-block, the clipboard contents look fine; there no need for user-select shenanigans.
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
but it doesn't help when the cell text is in an inline-flex, which is needed for centering
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
maybe it works to strip the tabs from the table output
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
no, it isn't
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
i picked 🤬 as i feel it's the most apropos to the problem i'm having ; )
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
i want to support whatever characters. i'm not trying to show a specific set of them
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
the icon? that's just a placeholder for any wide characters
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
if you're trying to leverage user-select, it's probably not going to work.
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
i've been almost working for well over two hours, amid unrelated youtube videos
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
if i can't figure this out, i'm moving forward with the table/table-cell approach, using a to-be-written JS copy routine to strip tabs before committing anything to the clipboard
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
i do appreciate your time. thank you for trying
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
i already had that working though : |
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
i don't think it's possible without using JS.
the behavior of
display: inline-flex;
to show the glyphs centered seems to be mutually exclusive with the behavior of display: inline-block;
to copy the text as complete lines83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
those are not centered within their individual cells
83 replies
KPCKevin Powell - Community
•Created by LJ on 6/24/2024 in #front-end
Unwanted clipboard behavior flex inline table
that is wrong.
83 replies