Home » Text » Text_Wiki_BBCode » Bug #9327
Images and headings
Details
| Request #9327 | Images and headings |
|---|---|
| Submitted | 2006-11-13 20:04 UTC |
| From | laurent at invisibleray dot com |
| Status | Open |
| Package | Text_Wiki_BBCode |
| PHP Version | 4.4.2 |
| OS | Windows XP SP2 |
| Roadmaps | (Not assigned) |
Comments
[2006-11-13 20:04 UTC] laurent at invisibleray dot com
Description:
------------
Hi,
This is a feature request for Text_Wiki_BBCode.
Request #1:
I would like to be able to enter an image with attributes in it in the following way:
[img id=myid class=myclass border=2 mycustomattribute=value]my_image.jpg[/img]
I know it is possible to set a class for all BBCode images via ->setRenderConf() but this isn't flexible enough I think.
Imagine a text paragraph with two images, one floating left and a few paragraphs below one floating right, it would be great to be able to assign two different classes in the code.
Request #2
I saw that the headings rendering system is already in Text_Wiki_BBCode but what about the rendering?
I'd like to be able to enter:
[h3]Title here[/h3]
But I also would like to 'block' some headings depending on the level (block level 1 and/or level 2 for instance). I'm using the h1 and h2 tags automatically via my website system but I'd like to be able to use h3->h6 via Text_Wiki_BBCode.
That's it for now, thanks for reading this.
Laurent