[Pro] Inline Style issue

/* Warning: this is regarding FWP version 6 */

##What I did…

I made a list of links, applied a FWP list style, then applied a second, span-style, to part of each link. I also specified a text-decoration:none attribute to the anchor tag style.

##What Freeway Pro did…

FWP6 added an inline style tag to the span all on it’s own… specifically, restoring the text-decoration:underline; declaration to the span.

“Waaaa!?”

I’ve sent this off to Softpress support to see what they make of it. There’s also a link at the example page to download the FWP6 file if anyone else wants to bang on it or see if the issue also exists in FW7.

###My Downloadable Example

http://cssway.thebigerns.com/workbench/link-underline-issue/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Ernie,
You can fix this by selecting ‘item2’ and in the Inspector palette click on the ‘Item appearance settings’ tab (the paint brush) and in the links section click on each of the underline (U icon) buttons once. This will remove the underlines from the parent which will cascade down to the text items themselves.

I suspect Freeway is adding the extra underline styles because it doesn’t know about the ‘a.tile’ styles because these are added as tag (rather than applied) styles and the text decoration is added as an extended style. Extended styles are very powerful but Freeway just turns a blind eye and lets you do what you like and doesn’t parse the code at all in relation to the rest of the document.

By adding the styles to the parent as we did using the UI I suspect Freeway is able to determine that the underline styles don’t need to be written back into the spans.
Regards,
Tim.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Oh, here’s a Freeway hack for the code tag too;

  1. Create a name style called code with a color of black (or whatever)
  2. Apply this style to your text
  3. Back in Edit > Styles edit the style from a name style to a tag style but keep the name as ‘code’
  4. You’ll notice that Freeway keeps the new style applied to the text
  5. Now when you publish Freeway (incorrectly) wraps the text in a pair of tags

This hack isn’t particularly useful as tag styles can’t be applied to runs of text so you’ll need to stick to the workflow listed above to get this to work. I think this may have been fixed in Freeway 7 so enjoy it while it lasts! :slight_smile:
Regards,
Tim.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Correction. I’ve just tried it in FW7 and this still works/breaks (whichever way you want to look at it).
Regards,
Tim.

On 1 Oct 2014, at 23:36, Tim Plumb wrote:

I think this may have been fixed in Freeway 7 so enjoy it while it lasts! :slight_smile:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for looking at this, Tim.

I think that I’m astonished that Freeway applied an inline style tag in the
first place - something it isn’t really supposed to do anymore. Weird too I
think that it would try to impose the underline in the absence of user
direction, and as an inline style.

Freeway sometimes works in mysterious ways.


Ernie Simpson

On Wed, Oct 1, 2014 at 6:22 PM, Tim Plumb email@hidden wrote:

Hi Ernie,
You can fix this by selecting ‘item2’ and in the Inspector palette click
on the ‘Item appearance settings’ tab (the paint brush) and in the links
section click on each of the underline (U icon) buttons once. This will
remove the underlines from the parent which will cascade down to the text
items themselves.

I suspect Freeway is adding the extra underline styles because it doesn’t
know about the ‘a.tile’ styles because these are added as tag (rather than
applied) styles and the text decoration is added as an extended style.
Extended styles are very powerful but Freeway just turns a blind eye and
lets you do what you like and doesn’t parse the code at all in relation to
the rest of the document.

By adding the styles to the parent as we did using the UI I suspect
Freeway is able to determine that the underline styles don’t need to be
written back into the spans.
Regards,
Tim.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Lol, thanks again - finally we are beta testing FWP6!

Correction. I’ve just tried it in FW7 and this still works/breaks

(whichever way you want to look at it).
Regards,


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options