Add tabulations in your articles with Blogotext
I am using Blogotext as blog engine. It is a big pleasure to use it :) Blogotext is open-source, easy-to-use and very light, it works very well. I would like to thank again Timo for his great job.
I am using paragraphs to organize my articles and make them clearer. In addition, I like to start each paragraph with a tabulation. Unfortunately, it is not easy to add tabulations using the default Blogotext editor. However, you can do it by forcing 4 spaces, such as
The default Blogotext editor's menu looks like :
After implementing the tabulation option, you'll see an "indent" icon in the right-hand side of the "line-through" icon :
To do so, you will have to modify two lines in two different files:
1 - First,
Enjoy ;)
I am using paragraphs to organize my articles and make them clearer. In addition, I like to start each paragraph with a tabulation. Unfortunately, it is not easy to add tabulations using the default Blogotext editor. However, you can do it by forcing 4 spaces, such as
I wanted to make it easier, thus I decided to implement this option in my editor.
The default Blogotext editor's menu looks like :
After implementing the tabulation option, you'll see an "indent" icon in the right-hand side of the "line-through" icon :
To do so, you will have to modify two lines in two different files:
1 - First,
- open the file /admin/form.php
- go to line 581
- add
echo "\t".'<button id="button15" class="but" type="button" title="tab" onclick="insertTag(\'\&nb\s\p\;\&nb\s\p\;\&nb\s\p\;\&nb\s\p\;\',\'\',\'contenu\');"><span class="c"></span></button>'."\n";
- open the file /admin/style/style-ecrire.css
- go to line 184
- add
#button15 span.c { background-image: url("format-bbcode/edit-indent.png"); }
Enjoy ;)