Re: Code-Source as Inline-Element

Bengt Giger <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

kit blake wrote:

>  As a workaround you could easily create a Code Source that renders a
> p element and includes the reference with any metadata (href, link
> title). If you wish I can send you an image captioning Code Source to
> serve as an example.
> 
> Indeed the ideal solution would be inline Code Sources, but that is
> not a simple feature, as it requires changes to the xml schema,
> import/export, etc.

It is possible to make a block element behave as an inline element by
CSS rules (display:inline), but here Silva is too rigid and we see
another problem:

it is not possible to add attributes to the generated block, not CSS id,
no CSS class; it's just plain <p>. Most of the time you will fail to
select the correct part for formatting, because there is no unique
identifier.


Regards

Bengt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQy6qGRxwykL/U8y3AQLeigf8Dkl8dr+K6bxnPNra2NNLYZoGwDeH+A6W
kRhEeCwAmhcSmWamC0Pn8nysXrdAi/ypu8KEgeFWUHmH1r/4Q3JQgZGmeNixRs4k
7zzkfF6e5Qlvji4gBMiRCCMCI38T49UHLoGeYKpgjdf72vgpz6WRzL498EDRx6sC
R6QKsQx2prsopN/ujtEd7W+eLaq5+gmM+f4cJGCCZfKuq9Q2juKFOfDPSbKBkArx
QZv07k/1qP/9TsOjAf9pDMeiCszUfE0txRM6GHnVbQDyPkQp7WYut2rjSF4ryOuO
Povw0EMFUOnlz5y1Pdud8vFJYZqgFjN9v632otNuENyvRwDZ63e/5w==
=MgUa
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.