From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "Clément Pit--Claudel" <clement.pit@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: adding "wrap=off" option to textarea for HTML export
Date: Fri, 9 Sep 2016 17:06:35 +0100 [thread overview]
Message-ID: <87fup912ic.fsf@delle7240.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <0960a5432ed143b18552148fd5b67941@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> ("Clément Pit--Claudel"'s message of "Fri, 9 Sep 2016 15:32:46 +0000")
On Friday, 9 Sep 2016 at 15:32, Clément Pit--Claudel wrote:
> On 2016-09-08 11:49, Eric S Fraga wrote:
>> To turn wrapping off, I would need to add 'wrap="off"' to the textarea
>> form as this option cannot be controlled using CSS unfortunately. I
>> don't see any way to do this from org.
>
> Hm. Doesn't the following work?
>
> textarea {
> white-space: pre;
> }
Ah, it does! That'll teach me to believe what I read on the
Interweb... which told me that CSS could not achieve this. I've just
tested it and it works just fine, at least on Firefox.
Thanks,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa
prev parent reply other threads:[~2016-09-09 18:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-08 15:49 adding "wrap=off" option to textarea for HTML export Eric S Fraga
2016-09-08 17:54 ` Nick Dokos
[not found] ` <69324c9e4bfc4fd3bd7df7882e857fd2@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-08 18:27 ` Eric S Fraga
2016-09-08 20:51 ` Nicolas Goaziou
[not found] ` <36a89fa2bafb4a0b84ff8ad6523d61a9@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-10 9:20 ` Eric S Fraga
2016-09-09 8:08 ` Eric S Fraga
2016-09-09 15:32 ` Clément Pit--Claudel
[not found] ` <0960a5432ed143b18552148fd5b67941@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-09 16:06 ` Eric S Fraga [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fup912ic.fsf@delle7240.chemeng.ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=clement.pit@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.