Re: "Styles" dropdown and other stuff

Christian Stocker <[email protected]> Fri, 05 Mar 2004 08:49:25 +0100
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>
Hi

On 3/5/04 2:01 AM, Peter Bowman wrote:
> Perhaps I might answer in separate mails.
> 
> Christian Stocker wrote:
> 
>>On 3/3/04 12:34 AM, Peter Bowman wrote:
>>
>>>- When I change the elements by choosing a new tag from the 
>>
>>drop down
>>
>>>list, the underlying xml is changed, but not the display. 
>>
>>E.g. if I have 
>>
>>><para>Text</para> and change para to head, the xml becomes 
>>><head>Text</head> but it displays as though it were aa para.
>>
>>That worked for me. Did you define a css (with .head) for <head>? 
>>Otherwise it will just take the standard layout.
> 
> 
> Yes, I have all that, and if I insert a <head> any other way it works fine
> and looks nice.
> 
> I used the DOM inspector to see what's going on:
> 
> Say I change <para> to <head> as above.
> 
> It starts off:
> 
> <span class="para">Text</span>
> 
> Then when I change to "head" it becomes:
> 
> <head class="para">Text</span>
> 
> The style dropdown shows "no block found" for that part of the text. I guess
> it should be:
> 
> <span class="head">Text</span>

yes, that should it be ;)

That's most presumably an easy fix and an annoying bug. Will try to fix 
it this morning.

-> http://bugs.bitflux.ch/cgi-bin/bugzilla/show_bug.cgi?id=582

PS. Could you please answer to the mailinglist and not to me personally 
only? Thanks and thanks a lot for your feedback, it helps a lot.

chregu


> 
> Thanks,
> Pete.
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB
-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev