I went to the TinyMCE site to check out the examples. It didn't seem to
load in my Opera on both Linux and Windows at all.
In addition i found this on the site:
"This page shows all available plugins that are included in the TinyMCE
distribution. Some of these plugins will only be visible on MSIE due to
the lack of some support in FF. For more details on the various options on
TinyMCE check the manual or for more third party plugins check the plugin
section."
I am just thinking if this plugin is extensible enough to deply with RC?
IMHO everything should work in Opera, MSIE and Firefox without exceptions
(or at least without major exceptions).
Am I missing something here? I really would like to see the WYSIWYG work
in Opera.
Chris
On Thu, 01 Jun 2006 01:49:12 +1000, Eric Stadtherr estadtherr@gmail.com
wrote:
Hi all,
I have been working on integrating the TinyMCE WYSIWYG HTML editor into RoundCube to be able to compose HTML messages. I posted a description
and some screen shots in the forums a little while ago:URL: http://www.roundcubeforum.net/index.php?topic=177.0
Topic: HTML / Wyswig Editor for sending mail ?
I recently merged my code into the latest revision of the SubVersion
trunk (r254), so the patch should go smoothly with any recently obtained working copy.
The patch requires downloading and installing the TinyMCE package from
http://tinymce.moxiecode.com at the same level as RoundCube in your web server document folder
hierarchy. I made the patch available for download here:http://stadtherr.bounceme.net/files/tinymce_rev254.patch
The patch contains a couple other minor changes that I can separate out
if necessary:fixed variable name typos in main.inc
fix to url_chars in func.inc (it used to split URLs on ";" characters)
I've tested it with forwarding various commercial HTML messages, and
composing/replying to my own messages. The editor itself supports a large number of HTML
features, but a subset of those features can be made available by initializing the
editor differently in the JavaScript code (see the "tinyMCE.init()" call in
compose.inc, and the TinyMCE documentation for details).I'd like to add a checkbox/toggle in the compose window to allow users
to choose between HTML/plain-text when composing a message - that's next on my
list.Take a look and let me know what you think, and if it sounds like
something that should go into the baseline.Thanks for all the great work! I chose RoundCube after trying out 5 or 6
other WebMail applications. Some others had more features, but the RoundCube
user interface made all the difference!-Eric Stadtherr
On 6/1/06, Chris Fordham chris@xhost.com.au wrote:
I went to the TinyMCE site to check out the examples. It didn't seem to load in my Opera on both Linux and Windows at all.
In addition i found this on the site:
"This page shows all available plugins that are included in the TinyMCE distribution. Some of these plugins will only be visible on MSIE due to the lack of some support in FF. For more details on the various options on TinyMCE check the manual or for more third party plugins check the plugin section."
I am just thinking if this plugin is extensible enough to deply with RC? IMHO everything should work in Opera, MSIE and Firefox without exceptions (or at least without major exceptions).
Am I missing something here? I really would like to see the WYSIWYG work in Opera.
Chris
On Thu, 01 Jun 2006 01:49:12 +1000, Eric Stadtherr estadtherr@gmail.com wrote:
Hi all,
I have been working on integrating the TinyMCE WYSIWYG HTML editor into RoundCube to be able to compose HTML messages. I posted a description and some screen shots in the forums a little while ago:
URL: http://www.roundcubeforum.net/index.php?topic=177.0
Topic: HTML / Wyswig Editor for sending mail ?
I recently merged my code into the latest revision of the SubVersion trunk (r254), so the patch should go smoothly with any recently obtained working copy. The patch requires downloading and installing the TinyMCE package from http://tinymce.moxiecode.com at the same level as RoundCube in your web server document folder hierarchy. I made the patch available for download here:
http://stadtherr.bounceme.net/files/tinymce_rev254.patch
The patch contains a couple other minor changes that I can separate out if necessary:
fixed variable name typos in main.inc
fix to url_chars in func.inc (it used to split URLs on ";" characters)
I've tested it with forwarding various commercial HTML messages, and composing/replying to my own messages. The editor itself supports a large number of HTML features, but a subset of those features can be made available by initializing the editor differently in the JavaScript code (see the "tinyMCE.init()" call in compose.inc, and the TinyMCE documentation for details).
I'd like to add a checkbox/toggle in the compose window to allow users to choose between HTML/plain-text when composing a message - that's next on my list.
Take a look and let me know what you think, and if it sounds like something that should go into the baseline.
Thanks for all the great work! I chose RoundCube after trying out 5 or 6 other WebMail applications. Some others had more features, but the RoundCube user interface made all the difference!
-Eric Stadtherr
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
What version are you using ? TinyMCE is usable in Opera 9 build 300
Opera 8.54 build 1745/Linux; Opera 8.51 build 7712/Win32
On Thu, 01 Jun 2006 17:07:27 +1000, Yllar Pajus yllar.pajus@gmail.com
wrote:
On 6/1/06, Chris Fordham chris@xhost.com.au wrote:
I went to the TinyMCE site to check out the examples. It didn't seem to load in my Opera on both Linux and Windows at all.
In addition i found this on the site:
"This page shows all available plugins that are included in the TinyMCE distribution. Some of these plugins will only be visible on MSIE due to the lack of some support in FF. For more details on the various options
on TinyMCE check the manual or for more third party plugins check the
plugin section."I am just thinking if this plugin is extensible enough to deply with RC? IMHO everything should work in Opera, MSIE and Firefox without
exceptions (or at least without major exceptions).Am I missing something here? I really would like to see the WYSIWYG work in Opera.
Chris
On Thu, 01 Jun 2006 01:49:12 +1000, Eric Stadtherr
estadtherr@gmail.com wrote:Hi all,
I have been working on integrating the TinyMCE WYSIWYG HTML editor
into
RoundCube to be able to compose HTML messages. I posted a description and some screen shots in the forums a little while ago:
URL: http://www.roundcubeforum.net/index.php?topic=177.0
Topic: HTML / Wyswig Editor for sending mail ?
I recently merged my code into the latest revision of the SubVersion trunk (r254), so the patch should go smoothly with any recently obtained working
copy.
The patch requires downloading and installing the TinyMCE package from http://tinymce.moxiecode.com at the same level as RoundCube in your web server document folder hierarchy. I made the patch available for download here:
http://stadtherr.bounceme.net/files/tinymce_rev254.patch
The patch contains a couple other minor changes that I can separate
out
if necessary:
fixed variable name typos in main.inc
fix to url_chars in func.inc (it used to split URLs on ";" characters)
I've tested it with forwarding various commercial HTML messages, and composing/replying to my own messages. The editor itself supports a large number of HTML features, but a subset of those features can be made available by initializing
the
editor differently in the JavaScript code (see the "tinyMCE.init()" call in compose.inc, and the TinyMCE documentation for details).
I'd like to add a checkbox/toggle in the compose window to allow users to choose between HTML/plain-text when composing a message - that's next on my list.
Take a look and let me know what you think, and if it sounds like something that should go into the baseline.
Thanks for all the great work! I chose RoundCube after trying out 5
or 6
other WebMail applications. Some others had more features, but the RoundCube user interface made all the difference!
-Eric Stadtherr
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
What version are you using ? TinyMCE is usable in Opera 9 build 300
In Opera v8.x it just doesn't seem to load the plugin. see attachement.
I just tested v9b on Win32 and yeah it seems fine.
On Fri, 02 Jun 2006 00:30:17 +1000, Eric Stadtherr estadtherr@gmail.com
wrote:
Chris,
Here is a URL with some of the compatibility information about TinyMCE:
http://tinymce.moxiecode.com/tinymce/docs/compatiblity_chart.html
I have done 90% of my work on Firefox/MacOS10.4, with some Firefox/Linux
and Safari/MacOS10.4 testing as well. Safari doesn't work great, but I have
heard some things about Safari's JavaScript interpreter that point to Safari
as the source of the problem.TinyMCE has a lot of fancy plugins - in fact, you can make it work
pretty much like M$ Word if you configure it correctly. I believe the plugins that
are "MSIE only" are some of the "fluff" plugins (like the "iespell" spell checker,
the graphics object z-layering, etc.). All of the more "normal" HTML-based formatting plugins (styles, fonts, colors, links, images, etc.) have
worked fine on Firefox.What happened when you tried to use Opera with their example page?
-Eric
On Thu, 01 Jun 2006 16:58:43 +1000, "Chris Fordham" wrote:
I went to the TinyMCE site to check out the examples. It didn't seem to load in my Opera on both Linux and Windows at all.
In addition i found this on the site:
"This page shows all available plugins that are included in the TinyMCE distribution. Some of these plugins will only be visible on MSIE due to the lack of some support in FF. For more details on the various options
on TinyMCE check the manual or for more third party plugins check the plugin section."I am just thinking if this plugin is extensible enough to deply with RC? IMHO everything should work in Opera, MSIE and Firefox without exceptions (or at least without major exceptions).
Am I missing something here? I really would like to see the WYSIWYG work in Opera.
Chris
On Thu, 01 Jun 2006 01:49:12 +1000, Eric Stadtherr estadtherr@gmail.com wrote:
Hi all,
I have been working on integrating the TinyMCE WYSIWYG HTML editor into RoundCube to be able to compose HTML messages. I posted a description and some screen shots in the forums a little while ago:
URL: http://www.roundcubeforum.net/index.php?topic=177.0
Topic: HTML / Wyswig Editor for sending mail ?
I recently merged my code into the latest revision of the SubVersion trunk (r254), so the patch should go smoothly with any recently obtained working copy. The patch requires downloading and installing the TinyMCE package from http://tinymce.moxiecode.com at the same level as RoundCube in your web server document folder hierarchy. I made the patch available for download here:
http://stadtherr.bounceme.net/files/tinymce_rev254.patch
The patch contains a couple other minor changes that I can separate out if necessary:
fixed variable name typos in main.inc
fix to url_chars in func.inc (it used to split URLs on ";" characters)
I've tested it with forwarding various commercial HTML messages, and composing/replying to my own messages. The editor itself supports a large number of HTML features, but a subset of those features can be made available by initializing the editor differently in the JavaScript code (see the "tinyMCE.init()" call in compose.inc, and the TinyMCE documentation for details).
I'd like to add a checkbox/toggle in the compose window to allow users to choose between HTML/plain-text when composing a message - that's next on my list.
Take a look and let me know what you think, and if it sounds like something that should go into the baseline.
Thanks for all the great work! I chose RoundCube after trying out 5 or 6 other WebMail applications. Some others had more features, but the RoundCube user interface made all the difference!
-Eric Stadtherr
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
I do not know why it doesn't work in v8.0, do they know why - whether it
is the UA or the code?
It is fair enough that it works in v9, however v9 is not even released yet.
When v9 comes out most Opera users will upgrade, so it doesn't really
matter.
So I guess its really not an issue as Opera v9 will go into production
eventually soon.
On Fri, 02 Jun 2006 23:41:32 +1000, Eric Stadtherr estadtherr@gmail.com
wrote:
Do you think Opera8 incompatibility is a show-stopper for this feature?
If you peruse the forums at the TinyMCE web site, the developers seem pretty
responsive to fixing browser issues as long as they're not working around behaviors
that are obvious browser bugs.On Fri, 02 Jun 2006 21:52:46 +1000, "Chris Fordham" wrote:
In Opera v8.x it just doesn't seem to load the plugin. see attachement.
I just tested v9b on Win32 and yeah it seems fine.
On Fri, 02 Jun 2006 00:30:17 +1000, Eric Stadtherr estadtherr@gmail.com wrote:
Chris,
Here is a URL with some of the compatibility information about TinyMCE:
http://tinymce.moxiecode.com/tinymce/docs/compatiblity_chart.html
I have done 90% of my work on Firefox/MacOS10.4, with some Firefox/Linux and Safari/MacOS10.4 testing as well. Safari doesn't work great, but I have heard some things about Safari's JavaScript interpreter that point to Safari as the source of the problem.
TinyMCE has a lot of fancy plugins - in fact, you can make it work pretty much like M$ Word if you configure it correctly. I believe the plugins that are "MSIE only" are some of the "fluff" plugins (like the "iespell" spell checker, the graphics object z-layering, etc.). All of the more "normal" HTML-based formatting plugins (styles, fonts, colors, links, images, etc.) have worked fine on Firefox.
What happened when you tried to use Opera with their example page?
-Eric
On Thu, 01 Jun 2006 16:58:43 +1000, "Chris Fordham" wrote:
I went to the TinyMCE site to check out the examples. It didn't seem to load in my Opera on both Linux and Windows at all.
In addition i found this on the site:
"This page shows all available plugins that are included in the TinyMCE distribution. Some of these plugins will only be visible on MSIE due to the lack of some support in FF. For more details on the various options on TinyMCE check the manual or for more third party plugins check the
plugin section."I am just thinking if this plugin is extensible enough to deply with RC? IMHO everything should work in Opera, MSIE and Firefox without
exceptions (or at least without major exceptions).Am I missing something here? I really would like to see the WYSIWYG work in Opera.
Chris
On Thu, 01 Jun 2006 01:49:12 +1000, Eric Stadtherr
estadtherr@gmail.com wrote:Hi all,
I have been working on integrating the TinyMCE WYSIWYG HTML editor into RoundCube to be able to compose HTML messages. I posted a description and some screen shots in the forums a little while ago:
URL: http://www.roundcubeforum.net/index.php?topic=177.0
Topic: HTML / Wyswig Editor for sending mail ?
I recently merged my code into the latest revision of the SubVersion trunk (r254), so the patch should go smoothly with any recently obtained working
copy. The patch requires downloading and installing the TinyMCE package from http://tinymce.moxiecode.com at the same level as RoundCube in your web server document folder hierarchy. I made the patch available for download here:http://stadtherr.bounceme.net/files/tinymce_rev254.patch
The patch contains a couple other minor changes that I can separate out if necessary:
fixed variable name typos in main.inc
fix to url_chars in func.inc (it used to split URLs on ";" characters)
I've tested it with forwarding various commercial HTML messages, and composing/replying to my own messages. The editor itself supports a large number of HTML features, but a subset of those features can be made available by initializing
the editor differently in the JavaScript code (see the "tinyMCE.init()" call in compose.inc, and the TinyMCE documentation for details).I'd like to add a checkbox/toggle in the compose window to allow users to choose between HTML/plain-text when composing a message - that's next on my list.
Take a look and let me know what you think, and if it sounds like something that should go into the baseline.
Thanks for all the great work! I chose RoundCube after trying out 5 or
6 other WebMail applications. Some others had more features, but the RoundCube user interface made all the difference!-Eric Stadtherr
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Hi,
I´ve applied the path on trunk 259 and it worked very well! Thanks! Just two points:
tinymce?
Thank you all! Krishna
2006/6/2, Chris Fordham chris@xhost.com.au:
I do not know why it doesn't work in v8.0, do they know why - whether it is the UA or the code? It is fair enough that it works in v9, however v9 is not even released yet. When v9 comes out most Opera users will upgrade, so it doesn't really matter. So I guess its really not an issue as Opera v9 will go into production eventually soon.
On Fri, 02 Jun 2006 23:41:32 +1000, Eric Stadtherr estadtherr@gmail.com wrote:
Do you think Opera8 incompatibility is a show-stopper for this feature? If you peruse the forums at the TinyMCE web site, the developers seem pretty responsive to fixing browser issues as long as they're not working around behaviors that are obvious browser bugs.
On Fri, 02 Jun 2006 21:52:46 +1000, "Chris Fordham" wrote:
In Opera v8.x it just doesn't seem to load the plugin. see attachement.
I just tested v9b on Win32 and yeah it seems fine.
On Fri, 02 Jun 2006 00:30:17 +1000, Eric Stadtherr <estadtherr@gmail.com
wrote:
Chris,
Here is a URL with some of the compatibility information about TinyMCE:
http://tinymce.moxiecode.com/tinymce/docs/compatiblity_chart.html
I have done 90% of my work on Firefox/MacOS10.4, with some
Firefox/Linux
and Safari/MacOS10.4 testing as well. Safari doesn't work great, but I have heard some things about Safari's JavaScript interpreter that point to Safari as the source of the problem.
TinyMCE has a lot of fancy plugins - in fact, you can make it work pretty much like M$ Word if you configure it correctly. I believe the plugins that are "MSIE only" are some of the "fluff" plugins (like the "iespell" spell
checker,
the graphics object z-layering, etc.). All of the more "normal" HTML-based formatting plugins (styles, fonts, colors, links, images, etc.) have worked fine on Firefox.
What happened when you tried to use Opera with their example page?
-Eric
On Thu, 01 Jun 2006 16:58:43 +1000, "Chris Fordham" wrote:
I went to the TinyMCE site to check out the examples. It didn't seem to load in my Opera on both Linux and Windows at all.
In addition i found this on the site:
"This page shows all available plugins that are included in the TinyMCE distribution. Some of these plugins will only be visible on MSIE due to the lack of some support in FF. For more details on the various options on TinyMCE check the manual or for more third party plugins check the plugin section."
I am just thinking if this plugin is extensible enough to deply with
RC?
IMHO everything should work in Opera, MSIE and Firefox without exceptions (or at least without major exceptions).
Am I missing something here? I really would like to see the WYSIWYG
work
in Opera.
Chris
On Thu, 01 Jun 2006 01:49:12 +1000, Eric Stadtherr estadtherr@gmail.com wrote:
Hi all,
I have been working on integrating the TinyMCE WYSIWYG HTML editor
into
RoundCube to be able to compose HTML messages. I posted a description and some screen shots in the forums a little while ago:
URL: http://www.roundcubeforum.net/index.php?topic=177.0
Topic: HTML / Wyswig Editor for sending mail ?
I recently merged my code into the latest revision of the SubVersion trunk (r254), so the patch should go smoothly with any recently obtained working copy. The patch requires downloading and installing the TinyMCE package from http://tinymce.moxiecode.com at the same level as RoundCube in your web server document folder hierarchy. I made the patch available for download here:
http://stadtherr.bounceme.net/files/tinymce_rev254.patch
The patch contains a couple other minor changes that I can separate
out
if necessary:
fixed variable name typos in main.inc
fix to url_chars in func.inc (it used to split URLs on ";" characters)
I've tested it with forwarding various commercial HTML messages, and composing/replying to my own messages. The editor itself supports a large number of HTML features, but a subset of those features can be made available by initializing the editor differently in the JavaScript code (see the "tinyMCE.init()" call in compose.inc, and the TinyMCE documentation for details).
I'd like to add a checkbox/toggle in the compose window to allow users to choose between HTML/plain-text when composing a message - that's next on my list.
Take a look and let me know what you think, and if it sounds like something that should go into the baseline.
Thanks for all the great work! I chose RoundCube after trying out 5 or 6 other WebMail applications. Some others had more features, but the RoundCube user interface made all the difference!
-Eric Stadtherr
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
On Jun 6, 2006, at 6:48 AM, Eric Stadtherr wrote:
Krishna,
I am currently working on adding a toggle button to the "compose"
display to select between HTML and Plain Text formats. I have the
toggle implemented, and I'll release another revision of the patch
shortly. The only thing I have yet to address is how to convert
from HTML to plain text when the option is toggled in that
direction There are a couple discussions about this topic in the
TinyMCE discussion forums. It's not a trivial thing to preserve
the formatting of an HTML document in plain text. The options are:Strip the HTML tags using strip_tags() and just leave the text
without any formatting. Write or integrate an HTML=>text renderer (similar to what would be
in a text-only web browser) Clear the contents of the text field when switching editor types Any thoughts from the group?
How about making the message Multi-Part MIME (text and html
simultaneously)? Although that probably means modifications to the
sendmail.inc.
-Eric
On Tue, 6 Jun 2006 09:19:38 -0300, "Krishna Oliveira de Hollanda
Padilha" wrote:Hi,
I´ve applied the path on trunk 259 and it worked very well! Thanks! Just two points: Is there a way to change back the message to text edit only? Is there a way to use the available googie spell feature with tinymce? Thank you all! Krishna
2006/6/2, Chris Fordham chris@xhost.com.au: I do not know why it
doesn't work in v8.0, do they know why - whether it is the UA or the code? It is fair enough that it works in v9, however v9 is not even
released yet. When v9 comes out most Opera users will upgrade, so it doesn't really matter. So I guess its really not an issue as Opera v9 will go into production eventually soon.On Fri, 02 Jun 2006 23:41:32 +1000, Eric Stadtherr
<estadtherr@gmail.com > wrote:Do you think Opera8 incompatibility is a show-stopper for this
feature?
If you peruse the forums at the TinyMCE web site, the developers seem
pretty
responsive to fixing browser issues as long as they're not working around
behaviors
that are obvious browser bugs.
On Fri, 02 Jun 2006 21:52:46 +1000, "Chris Fordham" wrote:
In Opera v8.x it just doesn't seem to load the plugin. see
attachement.
I just tested v9b on Win32 and yeah it seems fine.
On Fri, 02 Jun 2006 00:30:17 +1000, Eric Stadtherr
wrote:
Chris,
Here is a URL with some of the compatibility information about
TinyMCE:
http://tinymce.moxiecode.com/tinymce/docs/compatiblity_chart.html
I have done 90% of my work on Firefox/MacOS10.4, with some
Firefox/Linux
and Safari/MacOS10.4 testing as well. Safari doesn't work great, but
I have
heard some things about Safari's JavaScript interpreter that point to
Safari
as the source of the problem.
TinyMCE has a lot of fancy plugins - in fact, you can make it work pretty much like M$ Word if you configure it correctly. I believe the
plugins that
are "MSIE only" are some of the "fluff" plugins (like the "iespell" spell
checker,
the graphics object z-layering, etc.). All of the more "normal" HTML-
based
formatting plugins (styles, fonts, colors, links, images, etc.)
have
worked fine on Firefox.
What happened when you tried to use Opera with their example page?
-Eric
On Thu, 01 Jun 2006 16:58:43 +1000, "Chris Fordham" wrote:
I went to the TinyMCE site to check out the examples. It didn't
seem to
load in my Opera on both Linux and Windows at all.
In addition i found this on the site:
"This page shows all available plugins that are included in the
TinyMCE
distribution. Some of these plugins will only be visible on MSIE
due to
the lack of some support in FF. For more details on the various
options
on TinyMCE check the manual or for more third party plugins check the plugin section."
I am just thinking if this plugin is extensible enough to deply
with RC?
IMHO everything should work in Opera, MSIE and Firefox without exceptions (or at least without major exceptions)
Am I missing something here? I really would like to see the
WYSIWYG work
in Opera.
Chris
On Thu, 01 Jun 2006 01:49:12 +1000, Eric Stadtherr <estadtherr@gmail.com > wrote:
Hi all,
I have been working on integrating the TinyMCE WYSIWYG HTML
editor into
RoundCube to be able to compose HTML messages. I posted a
description
and some screen shots in the forums a little while ago:
URL: http://www.roundcubeforum.net/index.php?topic=177.0
Topic: HTML / Wyswig Editor for sending mail ?
I recently merged my code into the latest revision of the
SubVersion
trunk (r254), so the patch should go smoothly with any recently obtained working copy. The patch requires downloading and installing the TinyMCE package from http://tinymce.moxiecode.com at the same level as RoundCube in your web server document folder hierarchy. I made the patch available for download here:
http://stadtherr.bounceme.net/files/tinymce_rev254.patch
The patch contains a couple other minor changes that I can
separate out
if necessary:
fixed variable name typos in main.inc
fix to url_chars in func.inc (it used to split URLs on ";"
characters)
I've tested it with forwarding various commercial HTML
messages, and
composing/replying to my own messages. The editor itself supports a large number
of HTML
features, but a subset of those features can be made available by
initializing
the editor differently in the JavaScript code (see the "tinyMCE.init()"
call in
compose.inc, and the TinyMCE documentation for details).
I'd like to add a checkbox/toggle in the compose window to
allow users
to choose between HTML/plain-text when composing a message - that's next
on my
list.
Take a look and let me know what you think, and if it sounds like something that should go into the baseline.
Thanks for all the great work! I chose RoundCube after trying
out 5 or
6 other WebMail applications. Some others had more features, but the
RoundCube
user interface made all the difference!
-Eric Stadtherr
-- Using Opera's revolutionary e-mail client: http://www.opera.com/
mail/
-- Using Opera's revolutionary e-mail client: http://www.opera.com/
mail/
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-- Krishna Padilha
<editor toggle.jpeg>
On 6/6/06, Eric Stadtherr estadtherr@gmail.com wrote:
<snip> > > Strip the HTML tags using strip_tags() and just leave the text without any formatting. > Write or integrate an HTML=>text renderer (similar to what would be in a text-only web browser) > Clear the contents of the text field when switching editor types > > > Any thoughts from the group? >
From a user point of view (and what is expected from other email
clients) the HTML->Text renderer would be by far the best option. I looked into this for something else and I found the following GPLed PHP class that is a good starting point: http://www.chuggnutt.com/html2text.php
Cheers Derek
On 6/7/06, Eric Stadtherr estadtherr@gmail.com wrote:
The other issue I'm trying to solve is more of a browser/client issue. If a user has typed a message using the HTML editor, and then uses the toggle button to switch to the plain text editor, it would be ideal if this same HTML->Text rendering were performed. However, the PHP solution is a "back end" solution that would require another trip to the server.
I see three options: empty the text field when switching editor types (users will be mad) re-post the page when switching editor types, so the PHP HTML->Text or Text->HTML can be done on the server (slow and kind of an interruption) do the conversion in JavaScript in the browser (TinyMCE doesn't do this, so we'd have to find a JavaScript implementation of an HTML->Text renderer)
Any thoughts or other options? If #2 is the choice, I'd also like to ask for suggestions as to the best way to implement it.
A robust Javascript implementation would definitely be nice from the user PoV. Another option which is in between the two you have mentioned is to use AJAX principles - use Javascript to send the HTML to the backend and receive the plain text back. So still a server post/fetch but there is no full page reload involved and it is more seamless for the user.
Cheers Derek
Eric Stadtherr wrote:
I thought about AJAX for that same reason (page doesn't have to reload, but the "heavy weight" conversion logic can reside on the server), but I have to admit I'm a bit ignorant about AJAX. How universal is the XMLHttpRequest support in modern browsers (Safari, Opera, Firefox/Camino/Mozilla, etc.)? Are we restricting support and compatibility by introducing that technology?
I don't think using ajax technology would be much of a problem. I know firefox/ mozilla, safari (2.0) and opera (7.60) and IE support it. (Slightly different implimentations, but that can be hided by a common interface). So browser support can't be much of a problem.
Mark