Skip to content

FR: Pop-up on <textarea> controls #7

@manyfew

Description

@manyfew

In Firefox I used add-on Mandaring Popup. I created a very simple website, stored locally on my hard drive as a text file, which displayed a number of multi-line text input boxes, here is the code:

<body>
	<pre> <textarea cols="50" rows="10"></textarea>  <textarea cols="51" rows="10"></textarea>  <textarea cols="50" rows="10"></textarea></pre>
	<pre> <textarea cols="50" rows="10"></textarea>  <textarea cols="51" rows="10"></textarea>  <textarea cols="50" rows="10"></textarea></pre>
	<pre> <textarea cols="50" rows="10"></textarea>  <textarea cols="51" rows="10"></textarea>  <textarea cols="50" rows="10"></textarea></pre>
</body>

I've been using this for over 7 years as a Chinese text reader, where I would paste, or type, a bunch of Chinese text and then casually hover the mouse over the hanzi to get the English translation. Unfortunately, LiuChan doesn't appear to recognize text in <textarea> controls. It does, however, work on <input> controls. The difference is that the latter is a single-line input box, which is not very good for large texts:

The <textarea> tag defines a multi-line text input control.

Would it be possible to enable LiuChan to work on <textarea> controls too? Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions