Paragraph Style

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Smee
 
 
Posts: 108
Joined: Fri Mar 02, 2018 11:03 pm

Paragraph Style

Post by Smee »

I have been working on this site and still cannot figure out why "sometimes" the paragraph formatting works, and at others it doesn't.

Example page: https://www.stevesbodyandframe.com/rights.html

Each heading is followed by text that should be indented by 50. In the WYSIWYG Web Builder program, all are formatted correctly and look great.

When I preview, however, you get what is on the above page. Sometimes the first paragraph in a section will not follow the formatting, sometimes it will. Not consistent either way.

So, I go into the browser and select "View Source" and notice that the software is misapplying the paragraph tags. Is this a bug? It would appear so, but I've been mistaken before.

I remove all formatting from the text in question, save the file, close the program, then reopen the file. Reformat text as needed then preview.

I still have the same problem with alignment as I did before removing the formatting and reapplying. What is happening is that the WYSIWYG Web Builder software is closing the paragraph tag before applying it to SOME of the text.

Image

Is it a bug, or is there a "trick" to formatting paragraphs???
User avatar
Pablo
 
Posts: 23450
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Paragraph Style

Post by Pablo »

When using the paragraph mode, you cannot apply styles to text.
Paragraph mode was designed for responsive text only, if you use a heading on the text then this will break the responsive structure.
Unfortunately this is a limitation of the Windows text editor (rich-edit), but it was either this of no bullet/paragraph/list support at all, so I choose to include it anyway.

See also:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=34318
User avatar
crispy68
 
 
Posts: 3056
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Paragraph Style

Post by crispy68 »

To make it simple, after your heading, just insert a normal text object and give it 50px left padding. This will give you the same results you are seeking.
Smee
 
 
Posts: 108
Joined: Fri Mar 02, 2018 11:03 pm

Re: Paragraph Style

Post by Smee »

crispy68 wrote: Mon May 11, 2020 6:10 pm To make it simple, after your heading, just insert a normal text object and give it 50px left padding. This will give you the same results you are seeking.
Are you saying that each paragraph MUST be its own text frame?
Pablo wrote: Mon May 11, 2020 6:06 pm When using the paragraph mode, you cannot apply styles to text.
Paragraph mode was designed for responsive text only, if you use a heading on the text then this will break the responsive structure.
Unfortunately this is a limitation of the Windows text editor (rich-edit), but it was either this of no bullet/paragraph/list support at all, so I choose to include it anyway.

See also:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=34318
Text in question is not a heading.

Other paragraphs work as they are supposed to . . . if you format paragraph(s) the results should be consistent --- shouldn't they?

If you can't format paragraphs, why is the option there?
User avatar
Pablo
 
Posts: 23450
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Paragraph Style

Post by Pablo »

If you can't format paragraphs, why is the option there?
The option is there for use with responsive fonts', as mentioned in the help and FAQ.
Styles should not be used in combination with 'responsive fonts', because these options conflict with each other. if you apply a style to characters then this wil reset the underlying 'response fonts' functionality, in that case the complete block will not have the same style anymore.
Smee
 
 
Posts: 108
Joined: Fri Mar 02, 2018 11:03 pm

Re: Paragraph Style

Post by Smee »

Folks, the software is closing the paragraph tag before the text is is supposed to be affecting.

It should work this way (as it does with most of the paragraphs):
<P paragraph formatting >During the period of your vehicle's original warranty, you have the right to insist on the use of only OEM parts.</P>
The way it is formatting "some" of the paragraphs is this way (completely wrong)
<P paragraph formatting > </P>During the period of your vehicle's original warranty, you have the right to insist on the use of only OEM parts.
That is what I was showing in the image. If you close the paragraph tag, then of course it will not affect the paragraph you want it to affect. If it can't work this way, then why does it work on most of the other paragraphs?

It's like the and tags in the forum (used above in code sections). If I close it BEFORE I enter the text, it won't format it.

EDIT:

Our posts crossed in posting. This was written before your last post Pablo.

Will find another way to achieve what is needed.
Smee
 
 
Posts: 108
Joined: Fri Mar 02, 2018 11:03 pm

Re: Paragraph Style

Post by Smee »

Found MY ERRORS.

Sorry for the questions.
User avatar
crispy68
 
 
Posts: 3056
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Paragraph Style

Post by crispy68 »

Are you saying that each paragraph MUST be its own text frame?
No, I didn't say it MUST be. However, making each one it's own text block is easier and generates less code. I simply said the text you are wanting to indent just add left padding to the text object to achieve the same results. This would also eliminate all the unnecessary, numerous <p> tags being generated in the code for every line and be a lot cleaner. Just my opinion.
Last edited by crispy68 on Mon May 11, 2020 7:02 pm, edited 4 times in total.
alan_sh
 
 
Posts: 1869
Joined: Tue Jan 01, 2019 5:50 pm

Re: Paragraph Style

Post by alan_sh »

Which were? [So we can benefit]

Alan
Post Reply