Formatted text version 19

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
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Formatted text version 19

Post by colin1661music »

Whenever I highlight text it's fine until I save the page then the highlighted text disappears and reverts back to the original. This applies to bold and italic.
User avatar
Pablo
 
Posts: 22081
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Formatted text version 19

Post by Pablo »

Can you please be more specific?
What exactly are you doing?
Do you have a DEMO?

Image
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

The only way to show you is to make a video but here is what I do.

I create a layout grid

Create a large block of text, place it in to the layout grid, apply a body-text style, then I highlight one word bold or italic, and it shows bold or italic all good so far.

Then I save the page, the text that was showing bold or italic reverts back to the body-text style.

It's difficult to send you a demo until i can make a screen recording, if you still can't replicate I will make a screen recording tonight.
User avatar
Pablo
 
Posts: 22081
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Formatted text version 19

Post by Pablo »

It sounds like you are mixing up different styling types.
Global style and local styles. These cannot be mixed.

You either apply a global style (from the Style manager) or local style (via the formatting options).
If you first a style and then add bold or italic , then this will undo the global style (and vise versa).
Note that this is not new behavior, it always has worked this way.

If you need further assistance the please share DEMO project. I need to see the content and settings.
See also the forum rules.
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

Managed to record it on my hand held mobile phone not very professional but it shows you what happens. https://www.youtube.com/watch?v=v0RF1N8WYBM
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

Hi Pablo,

Reading your reply, it looks like you can't highlight a word within a style?

Seems strange that bulleted lists work within a style!

Colin
User avatar
Pablo
 
Posts: 22081
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Formatted text version 19

Post by Pablo »

Reading your reply, it looks like you can't highlight a word within a style?
Correct. Because a word either uses global style or local style, not both at the same time.
If the global style does not have bold enabled then the text cannot not bold.
So, if you want to make the word bold, then create a new style with bold enabled.

'Bulleted list' is not a style, it's an HTML structure.
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

Hi Pablo,

Is there any chance you could look at this in the next version, it's seems crazy that we can't have bold text in the middle of sentence, surly it's just a question of adding <b> </b> around text.

As you know I love your work.

Colin
User avatar
Pablo
 
Posts: 22081
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Formatted text version 19

Post by Pablo »

This has nothing to do with WWB. This is how styles works.
User avatar
crispy68
 
 
Posts: 2823
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Formatted text version 19

Post by crispy68 »

After playing with setting 2 styles, it seems the issue lies with how the font weight is set in CSS.

For example, if you use a font like Open Sans, it has different weights: 400, 600, 700, etc. So in the CSS the font-weight is set to one of these numbers (ex: font-weight:400) which is usually the normal weight of a font. However, you can also set font-weight to bold (ex: font-weight:bold).

Only one option can be used.

So, if you want to bold the text, set the bold style to use the bolder text setting. For example, if you were using Open Sans for the regular text, then use Open Sans Bold for the bold section. This will set the appropriate font-weight for both sections of text. It also allows you to be more creative as you could use a completely different font or color.

Unfortunately, setting bold = true in the style manager is conflicting. It cant be set to bold and the appropriate font weight of the font you are using at the same time. Only Pablo could say if setting the bold=true would add <b></b> around the text in the html.
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

Hi Guys,

I've very confused by this, I created this test page and I edited the second paragraph in an editor and you will see in the second paragraph with <b>10-year</b> as you see it's bold.

https://www.cosmedics-skin.com/test-page.php

I can achieve this by editing the pages in and html editor and then not publishing then in WYSIWYG.
User avatar
crispy68
 
 
Posts: 2823
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Formatted text version 19

Post by crispy68 »

Are you creating a style in the style manager and then applying that style to the text object or are you simply applying a style directly to the text object?
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

Yes the style for this block of text is <span class="body-roberto-l-14">
User avatar
crispy68
 
 
Posts: 2823
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Formatted text version 19

Post by crispy68 »

So you are using the style manager correct?
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

Yes, but I just want the word "10 Years" to be bold.

I've been thinking of a workaround I could try creating a blank link and then applying a bold style to the link.
User avatar
crispy68
 
 
Posts: 2823
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Formatted text version 19

Post by crispy68 »

did you try what I suggested and try using Roberto Bold?
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

If I do that the whole paragraph will be bold, applying a style to a link works but it very messy, and it can't be blank link. I'm going to develope this.

In a program like dreamweaver you can apply a style to a paragraph, section of text, a link etc.

It seems so basic, not being able to bold a section of text within a style. It works for links, why not a section of text?
User avatar
Pablo
 
Posts: 22081
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Formatted text version 19

Post by Pablo »

I'm sorry, but as a developer I have no control over this. I did not create the text editor. This is standard Windows functionality.
User avatar
jerryco
 
 
Posts: 855
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Formatted text version 19

Post by jerryco »

Time for Pablo Windows
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
crispy68
 
 
Posts: 2823
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Formatted text version 19

Post by crispy68 »

If I do that the whole paragraph will be bold,
No it won't. You create 2 styles in the style manager. For example:

Step 1:
RobotoRegular - set the style to use Roboto regular font, font size, etc.
RobotoBold - set this style to have the same as RobotoRegular but choose Roboto Bold as the font

Step 2:

Double click on the text object to select all the text, right click on the text and select Style in the context menu and choose RobotoRegular from the list. This sets all the text to this style. Now select the text box again and only highlight the text you want to appear bold, right click, choose style and select RobotoBold.
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

When I do that the whole paragraph changes to bold!

This interesting thing is that I can select a section of text and and make it bold but as soon as I save it, it removes the bold section.

Thanks for all your ideas on this, I'm going either edit the page in an editor or try and find a way to create a bold blank link.
User avatar
crispy68
 
 
Posts: 2823
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Formatted text version 19

Post by crispy68 »

I'm not having that issue, so either I dont understand your setup exactly or I'm not explaining how to do it properly.

So at this point, without seeing what you have done, it's hard to say anything else. Can you provide a demo project just showing what you are trying to do?
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

I will try and make a video for you.
User avatar
crispy68
 
 
Posts: 2823
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Formatted text version 19

Post by crispy68 »

Video may help but it would be easier if you just stripped the page down, removed everything but the text box you are trying to style and make that available
User avatar
BaconFries
 
 
Posts: 5504
Joined: Thu Aug 16, 2007 7:32 pm

Re: Formatted text version 19

Post by BaconFries »

Just as suggested by crispy68 can you just provide a simple "Demo". Create a "New" project add a couple of blocks of text within one of them add bold to the one word you require. Save this and share. This way it makes it easier to view the settings you have used.
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

Hi Guys

This is what I did with https://www.cosmedics-skin.com/test-page.php

Create a blanks page.

Insert a single column layout grid

Created some text, dropped it in to the layout grid and applied a style to the text.

Now, no matter what I do I can't highlight some text and make it bold. If I highlight a section and apply a bold style the who paragraph becomes bold.

If I highlight a section and press the B icon the text becomes bold until I save it.

All I want to do is add the <b> </b> tags to a section of text. The only way I can see to do that is to manually edit the code as in did in the second section. and publish the page with filezilla.
User avatar
crispy68
 
 
Posts: 2823
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Formatted text version 19

Post by crispy68 »

Created some text, dropped it in to the layout grid and applied a style to the text.
So based on this, you are applying to the text a style created in the style manager correct? It would be easier to see a demo just so we can see your settings.

So I followed your instructions and here are my results:

I created a style in the style manager called 'demo'. I set the font to 'Oswald' with font size 16.

Image


I then inserted a 1 column layout grid, inserted a text object, selected all the text and applied the 'demo' style to the text. I then double clicked on the text object, highlighted some text and bold it.

Image


When I preview it, the text is bold like I set it in the workspace.

Image


Based on the html and css code, you can see that the text indeed has the style 'demo' and that the text I bolded is bold using <strong> versus <b>. This also works if you want to set some of the text to italics.

Image
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

Thanks I will work on this over the weekend.

Regards Colin
User avatar
colin1661music
 
 
Posts: 118
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Formatted text version 19

Post by colin1661music »

HI Guys,

Thanks so much for everyone who has worked on this, I created and new project and it worked.

Now I need to work out why this doesn't work in the website https://www.cosmedics-skin.com/.

I started the website in WYSIWYG in 2019 and I've been updating everyone month ever since. It has 69 pages with 36 different styles perhaps something has become corrupt along the way.

Once again thank you for all your, help sometimes I can't see the wood for the trees.

This is a brilliant program with an amazing community.
Post Reply