Click here to Skip to main content
15,888,069 members

CPHog

This is a private message board for discussions on improvements and suggestions to CPHog.

 
GeneralGhost Town Pin
Bassam Abdul-Baki28-Mar-12 5:57
professionalBassam Abdul-Baki28-Mar-12 5:57 
AnswerRe: Ghost Town Pin
Nish Nishant28-Mar-12 5:58
sitebuilderNish Nishant28-Mar-12 5:58 
GeneralRe: Ghost Town Pin
Bassam Abdul-Baki28-Mar-12 6:04
professionalBassam Abdul-Baki28-Mar-12 6:04 
GeneralRe: Ghost Town Pin
Nish Nishant28-Mar-12 6:05
sitebuilderNish Nishant28-Mar-12 6:05 
GeneralRe: Ghost Town Pin
Bassam Abdul-Baki28-Mar-12 6:09
professionalBassam Abdul-Baki28-Mar-12 6:09 
GeneralRe: Ghost Town Pin
Nish Nishant28-Mar-12 6:12
sitebuilderNish Nishant28-Mar-12 6:12 
GeneralRe: Ghost Town Pin
Shog928-Mar-12 6:08
sitebuilderShog928-Mar-12 6:08 
GeneralRe: Ghost Town Pin
Nish Nishant28-Mar-12 6:10
sitebuilderNish Nishant28-Mar-12 6:10 
GeneralRe: Ghost Town Pin
Bassam Abdul-Baki28-Mar-12 6:13
professionalBassam Abdul-Baki28-Mar-12 6:13 
GeneralRe: Ghost Town Pin
Bassam Abdul-Baki28-Mar-12 6:11
professionalBassam Abdul-Baki28-Mar-12 6:11 
GeneralCPhog Changes Pin
Bassam Abdul-Baki16-Dec-09 6:15
professionalBassam Abdul-Baki16-Dec-09 6:15 
GeneralUbuntu FF3 Bug Pin
Bassam Abdul-Baki13-Sep-09 15:17
professionalBassam Abdul-Baki13-Sep-09 15:17 
GeneralRe: Ubuntu FF3 Bug Pin
Shog910-Dec-09 14:02
sitebuilderShog910-Dec-09 14:02 
NewsNew editor in the trunk Pin
Shog929-Jan-09 8:40
sitebuilderShog929-Jan-09 8:40 
...if he stays quiet, i might let him out.

Trying something a bit different. Ever since David first implemented it, we've used an iframe for hosting the rich text editor. Mostly because up until FF3, that was the only way to do it: you could make a document editable, but not individual parts of a document (the way you could in IE using the contenteditable attribute). This had one rather nice side-effect: iframes maintain their own selection object, so you could have text selected in the outer document (say, something you wanted to quote) and a different selection in the editor document (the place you want the quotation to be inserted).

Unfortunately, there were a couple of rather nasty downsides: setting up an iframe is slow, and putting it into editing mode is more than a little fragile. With some difficulty, the second issue can be worked around, but the speed is still terrible.

So I ripped out the iframe and hacked in a contenteditable div. So far, it seems faster. The editor pops open with barely a delay, rendering appears to be able to keep up with my frenetic typing, and i can even add non-editable elements into the mix (right now, just smileys...).

But before i wire this in too deep, I'd like to know how it works for others. First and foremost: is anyone still using < FF3? Second, are there any odd side-effects that i haven't noticed yet? Is it significantly slower in any common scenarios? And finally, is anyone actually reading this? Smile | :)

As always, thanks for your help and feedback.


Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

GeneralRe: New editor in the trunk Pin
Michael Dunn30-Jan-09 12:55
sitebuilderMichael Dunn30-Jan-09 12:55 
GeneralRe: New editor in the trunk Pin
Jörgen Sigvardsson1-Feb-09 20:26
Jörgen Sigvardsson1-Feb-09 20:26 
GeneralRe: New editor in the trunk Pin
Michael Dunn3-Aug-09 20:52
sitebuilderMichael Dunn3-Aug-09 20:52 
GeneralRe: New editor in the trunk Pin
Jörgen Sigvardsson3-Aug-09 20:54
Jörgen Sigvardsson3-Aug-09 20:54 
GeneralRe: New editor in the trunk Pin
Shog94-Aug-09 11:43
sitebuilderShog94-Aug-09 11:43 
GeneralRe: New editor in the trunk Pin
Michael Dunn4-Aug-09 22:19
sitebuilderMichael Dunn4-Aug-09 22:19 
GeneralRe: New editor in the trunk Pin
Michael Dunn11-Aug-09 11:36
sitebuilderMichael Dunn11-Aug-09 11:36 
GeneralHeads-up! Pin
Shog927-Jan-09 13:06
sitebuilderShog927-Jan-09 13:06 
GeneralSmileys bar has stopped working - FF 2.0.0.18 Pin
Michael Dunn10-Dec-08 20:03
sitebuilderMichael Dunn10-Dec-08 20:03 
GeneralRe: Smileys bar has stopped working - FF 2.0.0.18 Pin
Shog920-Dec-08 6:53
sitebuilderShog920-Dec-08 6:53 
GeneralRe: Smileys bar has stopped working - FF 2.0.0.18 Pin
Shog922-Dec-08 14:10
sitebuilderShog922-Dec-08 14:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.