Open
Bug 16956
Opened 25 years ago
Updated 2 years ago
Insert Text File
Categories
(MailNews Core :: Composition, enhancement, P3)
MailNews Core
Composition
Tracking
(Not tracked)
NEW
People
(Reporter: CodeMachine, Unassigned)
References
Details
(Keywords: helpwanted)
It would be very useful to be able to insert a text file at the cursor point.
It would be nice if it detected non-text files and refused to insert them.
Comment 1•25 years ago
|
||
Beth or Steve, do you think this is an editor issue?
It could go either way. The editor knows how to insert data types off the
clipboard, so it shouldn't be a big leap to get those same data types out of a
file. The tricky part is knowing what data type you have in a file. I think
the parser can help us out here. Rick?
We had talked about making this a feature of the editor, but cut it due to time
constraints.
The embedding application, or course, can always provide this feature on top of
the editor regardless of whether the editor provides "InsertContentFromFile()."
We should probably add this method to our API, mark it as unimplemented, and get
to it when we can.
So I'll leave this bug for you, Phil, to decide if you want to implement this
feature on top of the existing editor APIs. That means the mail app would have
to provide UI, get the file content, determine the data type, and call the
appropriate nsIHTMLEditor API. cc'ing Akkana so she can tell us if I'm way out
in left field.
Comment 3•25 years ago
|
||
The editor and editor shell have methods to insert text and html, so it's no
problem to do that -- just read in the file contents, do some sort of switching
based on the filename or other knowledge of the file's mime type, and insert it
via the standard editor commands. So it could be done in JS (assuming there's a
way to read the contents of a file from JS) or in C++.
I'd love to see a menu item to do this, both in the editor and in mail compose.
Updated•25 years ago
|
Assignee: phil → nobody
Summary: Insert Text File → [HELP WANTED] Insert Text File
Whiteboard: [HELP WANTED]
Comment 5•25 years ago
|
||
Add to the help wanted list.
Updated•25 years ago
|
Keywords: helpwanted
Updated•25 years ago
|
Summary: [HELP WANTED] Insert Text File → Insert Text File
Whiteboard: [HELP WANTED]
Reporter | ||
Updated•24 years ago
|
Keywords: mozilla1.2
Comment 6•23 years ago
|
||
removing myself from the cc list
Comment 7•22 years ago
|
||
*** Bug 120695 has been marked as a duplicate of this bug. ***
Comment 8•22 years ago
|
||
reassign to module owner to get back on radar
Assignee: nobody → ducarroz
Component: Mail Window Front End → Composition
QA Contact: pmock → esther
Comment 11•22 years ago
|
||
*** Bug 91102 has been marked as a duplicate of this bug. ***
Comment 12•21 years ago
|
||
*** Bug 210555 has been marked as a duplicate of this bug. ***
Comment 13•21 years ago
|
||
*** Bug 195859 has been marked as a duplicate of this bug. ***
Comment 14•21 years ago
|
||
This bug seems to be somewhat stale... I would like to add my vote as this, in
my opinion, the number one problem with the Mozilla mail editor.
Comment 15•21 years ago
|
||
I have to aggree with the last comment: for me this also is the
number one feature mozilla is lacking. It would be great if
someone could decide to work on that.
Updated•20 years ago
|
Keywords: mozilla1.2
Comment 16•20 years ago
|
||
Inserting textblocks (textfiles) from a list ist a BIG MISSING FEATURE in mozilla.
The lack of this feature prevents to use mozilla in enterprises.
Inserting textblocks speeds up replying to customer requests.
This missing feature prevents an enterprise (I'm supporting) to get rid of
microsofts outlook. That's not good!
Comment 17•20 years ago
|
||
My $.02. Guys, isn't it a complete shame to process such an issue for 5 (five!)
years? Keep in mind, this feature is demanded and could increase popularity of
Mozilla alot.
Updated•20 years ago
|
Product: MailNews → Core
Comment 18•18 years ago
|
||
Today I changed to Thunderbird 1.5 and installed the extension "Quicktext" from Emil Hesslow. It works fine. I don't know if "Quicktext" will work for Mozilla, but the combination of Thunderbird and "Quicktext" fixes this "Bug" here.
Comment 19•17 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•