Hello,
I am trying to do a very basic thing, insert an image inline inside some kirbytext.
The same way that this emoji is inline with this text.
This seems like it should be a trivially easy thing to do. I have been banging my head against the wall trying everything I can think of, but I just cannot get the image to sit inline with the text!
Kirbytext :
mytext:
Lorem ipsum dolor sit amet (link: something text: lorem ipsum) (image: assets/images/icon.svg).
php :
<div class="my-text">
<?= $page->mytext()->kirbytext() ?>
</div>
css :
.my-text img {
display: inline;
}
I’ve tried assigning a class to the image inside the kirbytext markdown and then targetting the class with css, but that doesn’t work either…
Any ideas ?
Thanks in advance