473,386 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Verry simple WYSIWYG form field

Hi,

Im trying to make / looking for a very very simple WYSIWYG editor. Ive
made a (ad free) site about dogs but it's attracting way more visitors
then I could ever have imagined. I have a forum where users can discuss
all aspects about their dogs.

I wish to enhance the forums form input with a few simple options (bold,
cursive and insert link). Preferably a WYSIWYG edit but ill settle for a
code creator. (where selected text becomes <b>selected text</b> ifter
pressing the 'Bold' button
Im currently struggling to keep my bandwidth below 10 GB/month to keep
costs down. With that in mind Ive encountered some problems finding such
an editor

1. Most are not open source (so I cant remove unwanted options)
2. Most don't work in Firefox
3. Most scripts are too large and consume too much bandwidth (or is
there a way to have users cache them)
4. All scripts ive seen dont work with javascript disabled (duh). What I
mean by this is that a form should still be shown if javascript is
disabled.

Ive been searching for a few days now and still I havent found a good
editor nor a good tutorial. In short; nothing works and im lost !

Can anyone hint me into a direction of what functions to look at or
point me to a good tutorial (relating to this topic in specific) or
better yet point me to a good script.

In the first case, please help me find out how to send a marked piece of
text to a function and then writing it back. Ill figure the rest out
myself :-)

Kind regards

Arjen
Feb 22 '06 #1
1 5155
Arjen wrote:
Hi,

Im trying to make / looking for a very very simple WYSIWYG editor. Ive
made a (ad free) site about dogs but it's attracting way more visitors
then I could ever have imagined. I have a forum where users can discuss
all aspects about their dogs.

I wish to enhance the forums form input with a few simple options (bold,
cursive and insert link). Preferably a WYSIWYG edit but ill settle for a
code creator. (where selected text becomes <b>selected text</b> ifter
pressing the 'Bold' button
Im currently struggling to keep my bandwidth below 10 GB/month to keep
costs down. With that in mind Ive encountered some problems finding such
an editor


Try this:

<URL:http://www.kevinroth.com/rte/demo.htm>

"The cross-browser rich-text editor (RTE) is based on the designMode()
functionality introduced in Internet Explorer 5, and implemented in
Mozilla 1.3+ using the Mozilla Rich Text Editing API. The
cross-browser rich-text editor now includes table support (as of
2/10/2005) as well as an option to generate xhtml-compliant code (as
of 2/24/2005).

"This code is public domain. Redistribution and use of this code, with
or without modification, is permitted."

[...]

"Requires: IE5+/Mozilla 1.3+/Mozilla Firebird/Firefox 0.6.1+/Netscape
7.1+, or any other browser that fully supports designMode() for all
rich-text features to function properly. All other browsers will
display a standard textarea box instead."

--
Rob
Feb 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Martin | last post by:
Thanks to all those who assisted me with my last question re: What is the best way to produce WYSIWYG pages for viewing and printing. I think that I have mastered the form with scrolling picture...
6
by: lb | last post by:
Hi I'm looking for a wysiwyg XSTL editor, that actually is wysiwyg. So far every product I have tried out seems to have the idea that wysiwyg is just showing the result of an XML - XSL...
1
by: Randell D. | last post by:
HELP! I am determined to stick with this... I'm getting there... for those who haven't read my earlier posts, I'm createing what should be a simple function that I can call to check that...
14
by: Brandon | last post by:
I am an amateur working on a first site, I have settled on using FP 2002 for now. My current page is up and live, but I have two errors that I cant seem to get rid of ... Line 29, column 6:...
0
by: 42 | last post by:
I implemented a simple class inherited from Page to create a page template. It simply wraps some trivial html around the inherited page, and puts the inherited page into a form. The problem I...
5
by: charliewest | last post by:
Hello - I am trying to implement a basic WYSIWYG feature on my website so that i can edit in HTML format basic text on my website and have this text saved (with the HTML formatting) in my MS SQL...
27
by: one man army | last post by:
Hi All- I am new to PHP. I found FAQTS and the php manual. I am trying this sequence, but getting 'no zip string found:'... PHP Version 4.4.0 $doc = new DomDocument; $res =...
2
by: Peter Michaux | last post by:
Hi, I took apart an existing wysiwyg editor to try to learn how they work and some of the important issues. The following url has my current version that seems to work in Safari 2 and Firefox 2....
1
by: Rodo | last post by:
Hi all, I'm trying to generate a simple crystal report without a database. Several people mention the use of a dataset. Someone mention in a msdn forum that I could use the SetParameterValue to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.