M: I'm looking for something on Linux, Ubuntu-flavored, that will let me copy and paste HTML, then go in and edit the tags without having too many other layers. I just need something where I can cut and paste from Firefox and then use something to extract the text version of what's gotten pasted. There have been a couple times where I've been trying to grab information from a table that would benefit from the coloration that they used, but I haven't got a good way to capture the entirety of the formatting.
G: TL;DR (your use
case):
You don’t want a “developer IDE.” You want a lightweight
HTML-aware editor or viewer that can:
The best fits for that are:
This is basically the “Dreamweaver but not bloated” lane.
👉 This directly solves your “I want the color/structure but also the raw tags” problem.
Why this works better than anything GUI-based:
lynx -dump file.htmlw3m -dump file.htmlpandoc -f html -t plaininscriptis (best layout-preserving option)That last one is specifically designed to convert HTML → text while preserving layout alignment like tables citeturn0academia10
👉 This is the closest thing to “copy structured table → readable text output” without garbage.
These:
👉 This is the fastest “paste → clean → copy” workflow if you don’t want to configure anything.
You said:
grab table + colors → keep structure → extract usable text
That’s actually two separate tasks, and mixing them is why it feels messy:
→ Use BlueGriffon or browser editor
→ Use:
pandoclynx -dumpinscriptisTrying to do both in one tool is where most editors fall apart.
Instead of pasting manually:
xclip → inscriptis → wl-copy
So your workflow becomes:
This completely removes the “editor as middleman” problem.
pandoc
/ inscriptisIf I had to be blunt:
Your problem isn’t “finding the right editor,” it’s that you’re
trying to use one tool for both rendering and extraction, and
Linux actually does those better as two separate
steps.
M: The key word you used was lightweight. I'm using a GUI and I want to insert it into a workflow. Changing back and forth using Alt-Tab is easy. I've been doing that since the first version of Windows that was able to do it. I don't want command line. It doesn't even have to be able to have that much of a capacity to do any kind of editing or any kind of simplicity. I just need to be able to paste the HTML and have the program give me in an alternate area the HTML that created that. I'm using the indexing library program Calibre, and it almost works exactly like I want it to. The problem is it doesn't preserve background colors when you paste. And so the workflow I've been using, which involves looking up a title, finding information, cutting and pasting, ends up being illegible if the table is more than two or three entries.
G: [Non-text content: thoughts; content_type=thoughts]
G: I’ll narrow this to GUI-first tools that preserve pasted table styling better than Calibre’s editor, especially background colors, and ignore command-line workflows.
G: [Non-text content: reasoning_recap; content_type=reasoning_recap]
G: Yeah — then I’d skip “HTML editors” and use a clipboard HTML inspector / WYSIWYG source viewer.
Best practical options:
Probably closest to your stated workflow.
SeaMonkey still includes an HTML editor/composer. citeturn431565search3
Better fit conceptually, but caveat: it is basically discontinued. Its own site says goodbye after 14 years, and the current listed EPUB edition is old. citeturn431565search10turn431565search2
Still worth testing because it was Firefox-engine-based and built exactly around visual editing plus source view.
Ugly, but may work for tables:
Not elegant, but LibreOffice often preserves table background colors better than stripped-down editors.
This may actually be the cleanest “lightweight GUI” answer:
Open a tiny local HTML file containing a contenteditable
box and a “show source” pane. Paste into the visual box; it displays the
generated HTML in another pane. No terminal, no app switching beyond
Firefox.
This avoids the whole “install a dead Linux WYSIWYG app” problem.
My blunt recommendation: try SeaMonkey Composer first, then BlueGriffon, then the local browser editor if both mangle the colors.
M: No saving, just cut and paste, period. It almost works that way right now. I just need to add one extra step, even if it's a new program. Where would I get SeaMonkey Composer and where would I get BlueGriffon?
G: Got it — no saving, no workflow creep, just paste → see HTML → copy → done.
Here’s exactly where to get the two you asked about, and what to expect.
👉 Official download page:
link_titleDownload SeaMonkeyturn0search0
What you’re getting:
Your exact workflow:
That’s it. No saving required.
Reality check (important):
👉 Main site (now basically archival):
link_titleBlueGriffon homepageturn0search1
👉 Download info reference:
link_titleBlueGriffon install instructions (Linux)turn0search7
What it is:
Important reality:
Workflow is identical:
You’re not trying to edit pages.
You’re trying to interrogate clipboard HTML without losing
formatting.
So:
Calibre strips or normalizes pasted HTML — especially inline styles like background colors — because it’s trying to sanitize content.
SeaMonkey/BlueGriffon don’t try to “fix” things as aggressively, so:
are more likely to survive the paste intact.
If SeaMonkey still drops colors:
That shows you the actual rendered HTML including styles, not the cleaned clipboard version.
That bypasses every editor problem entirely.
M: Okay, I got SeaMonkey. Now how the hell am I supposed to use it? I mean, in the way that I want to. I didn't realize it was an entire browser.
G: Yeah, that reaction is fair — SeaMonkey is basically “Firefox from an alternate timeline,” and 90% of it is irrelevant to what you want.
You only care about one thing: Composer.
You want this path:
That’s it. Ignore everything else.
Manual path:
Composer has 3 useful views:
You’re basically using it as:
“Paste interpreter → show me the raw HTML”
That’s correct. Don’t try to paste into source.
That shows you what SeaMonkey actually captured.
Go to:
Look for anything like:
Turn OFF anything that sounds like cleanup/sanitization.
SeaMonkey likes to “help” unless you stop it.
You are not getting Firefox’s internal DOM.
You are getting:
“Whatever HTML survives clipboard transfer → then passes through Composer”
That distinction matters.
Then the problem isn’t the editor — it’s the clipboard.
At that point your best fallback is:
That gives you the true HTML with styles intact, bypassing clipboard stripping entirely.
If it works, it’ll feel almost trivial.
If it doesn’t preserve colors, the failure point is upstream
(clipboard), not the tool.
M: This isn't working for me. Name a couple GUIs that I can install using the APT utility.
G: Got it. Then let’s stop fighting weird legacy tools and stick to APT-installable, lightweight GUIs that actually behave predictably.
Run:
sudo apt install gedit geany mousepad
Then use Geany first.
image_group{"layout":"carousel","aspect_ratio":"1:1","query":["geany editor ubuntu interface","geany split view html preview plugin","geany html editing screenshot","geany lightweight ide linux"],"num_per_query":1}
Why this works:
Workflow:
Key point:
Geany doesn’t try to be clever → which is exactly what you want.
image_group{"layout":"carousel","aspect_ratio":"1:1","query":["gedit ubuntu text editor screenshot","gedit plain text html editing","gedit highlight html syntax","gnome text editor html code"],"num_per_query":1}
Downside:
image_group{"layout":"carousel","aspect_ratio":"1:1","query":["mousepad text editor linux xfce screenshot","mousepad html editing plain text","xfce mousepad interface","mousepad code editing"],"num_per_query":1}
If you paste into any of these and don’t see colors or styling:
👉 The HTML never made it into the clipboard in the first place.
Firefox often copies:
So no editor can recover what isn’t there.
“preserve table colors + structure”
Then your options are:
👉 Geany is the sweet spot
If Geany still doesn’t show what you expect, the issue isn’t the editor — it’s Firefox’s clipboard stripping styles before anything ever hits your system.