CSS inject
Maintained by
Manuel Menzinger
This simple filter allows users to add css to their content, without switching to code-view. It also provides pre-made css-classes to visually enhance basic text areas.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I had a little time this week and uploaded an update. Now scoping of elements is possible, using start- and end-tags (like [!style-start:...!]...[!style-end!]). Furthermore it is now possible to nest all elements! But when nesting the same type of elementy, they need to be numbered (like [!:c:red!]Helllo [!1:b!]world[!1!][!!] - here you can also see some of the new abbreviations for color and font-weight: bold)
currently that is not possible, because I chose simplicity (less tags) over complex usecases. You could use [!: display:block; ... !] ... [!!] to achieve basically the same as '[!style: ... !], but limited in scope. For classes you will need to do it the old way by editing the html manually.
That said, now that I know that there might be a usecase for that, I might find a way to add optional endtags, without adding too much complexity... I will have a look at it during summer, when i have some time.
Best regards