vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   WYSIWYG Post Editor v1.0 (https://vborg.vbsupport.ru/showthread.php?t=40283)

eiSecure 06-25-2002 10:50 PM

Yep...hopefully.:)

Superman53142 06-25-2002 10:52 PM

Quote:

Originally posted by Velocd
Another bug fix? d'oh! But hopefully this will be the last ;)
It should be. Every other function was tested pretty thouroughly (did I spell that right?). Of course, I did test some of it at 1AM last night :p

Parker Clack 06-25-2002 11:06 PM

Guys:

I love how it looks and works but everytime I use it double spaces the text, which I hit the return instead of single space, in the body of the textarea. If I type a one long sentence it will
wrap the text to the next line but if I hit the return key it will double space each time.

--Parker

Velocd 06-25-2002 11:25 PM

I've noticed this too, any solution eiSecure?

eiSecure 06-25-2002 11:28 PM

Yeah, there's an explanation for it...

This was made to function exactly like MS Word. To make it a single line break, just hold Shift and press Enter, just like in MS Word!:)

It's not a bug..it's a feature...;)

Velocd 06-25-2002 11:46 PM

eiSecure there are still some bugs I'm noticing with HTML disabled. If I use a single space (shift enter) then a double space right after, in the thread show it will show <br> tags....

Superman53142 06-25-2002 11:51 PM

Quote:

Originally posted by Velocd
eiSecure there are still some bugs I'm noticing with HTML disabled. If I use a single space (shift enter) then a double space right after, in the thread show it will show <br> tags....
I'll take a look. I didn't exactly know about the Shift-enter thing when I was writing the conversion code :p

EDIT: I am unable to reproduce this problem. Also, with the fix for the quoting error, that is an impossible problem, as all <br>'s are converted to "\n"'s.

Superman53142 06-25-2002 11:58 PM

Quote:

Originally posted by Parker Clack
Guys:

I love how it looks and works but everytime I use it double spaces the text, which I hit the return instead of single space, in the body of the textarea. If I type a one long sentence it will
wrap the text to the next line but if I hit the return key it will double space each time.

--Parker

The reason it is like this is because the WYSIWIG editor is like a pre-programmed part of IE. It's impossible (as far as I know :)), to change their settings for what the return key does. I coded the conversion scripts so that it replaces the <P></P> tags with double-spaces (\n\n, essentially) so that it would look the same as it did on the editor when you posted. As Alex (eiSecure) knew, you can press Shift-enter to get a single space (<br>), and this is converted to a single-space (\n) when you post.

eiSecure 06-26-2002 12:07 AM

I didn't 'discover', I 'knew'. ^_^

:bunny::p;):p:bunny:

Superman53142 06-26-2002 12:20 AM

Quote:

Originally posted by eiSecure
I didn't 'discover', I 'knew'. ^_^

:bunny::p;):p:bunny:

I stand corrected! :p


All times are GMT. The time now is 10:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01763 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete