Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old May 7th, 2002, 01:51 PM
Gandalf Gandalf is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 1 Gandalf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
WYSIWYG Editor and Styles

Great article on the building your own HTML Editor -- one thing that the article didn't cover was integration with styles. Any advice on how to handle this would be much appreciated.

Regards.
Gandalf

Reply With Quote
  #2  
Old May 8th, 2002, 11:46 PM
MawlRats MawlRats is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 13 MawlRats User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hmmm... I wouldnt have a clue on that one. Maybe you can add style sheets to the top, grab them with JS and set the properties of a drop down list to show which style sheets there are. from there, when a user selects one, grab the individual properites of it and apply it to the selected text.

Reply With Quote
  #3  
Old May 15th, 2002, 08:54 PM
dgibson dgibson is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Urbana, MD, USA
Posts: 66 dgibson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I too was wondering how far you can go with customization of the editor. I've done quite a bit more with MSHTML, but have not found if it is possible to apply classes or other tags via a function or button click like the other executecommand functions. Anyone know about that?

Reply With Quote
  #4  
Old May 15th, 2002, 10:45 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
im working on a html editor (not WYSIWYG) where i can select from a list, and the selected text, will now be formatted by that class, once ive finished the code, ill post it so u guys can try and figure out how to use it for the WYSIWYG editor

Reply With Quote
  #5  
Old May 17th, 2002, 10:07 PM
dgibson dgibson is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Urbana, MD, USA
Posts: 66 dgibson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
This editor you speak of is in DHTML or what? The thing I like about the MSHTML functions is that they are smart in the sense that they properly nest tags and add multiple tags when needed. For example, if I select part of two paragraphs and bold the selection, it won't improperly nest the tags, but rather insert two sets of bold tags inside of the block-elements where they belong.

That very same complexity is what's kept me from attemping to script in functionality of which you speak. I'm very curious to see how yours turns out now...

Reply With Quote
  #6  
Old May 21st, 2002, 07:53 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
i decided to try try and add my style script to the wysiwyg editor, and it crashed, everything was right, choose a style it worked, but it crashed, ive tried it on server computers since, and they all crashed! so im guessing its a problem with IE. soz guys, but looks like you might have to do it the old fassioned way of editing the html!

argh!

but being typicle MS they'll bring out 5 patches for IE 6 before its fixed

back to the old drawin board!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > WYSIWYG Editor and Styles


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway