Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Bureacracy Plugin text area formatting buttons
Formatting buttons or auto formatting for text area?
Avatar
asingularity #1
Member for a month · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Bureacracy Plugin text area formatting buttons
Hello!
I've done a decent amount of googling for this, but as of yet, I have found nothing useful (it's entirely possible that my google-fu is just terrible though)....
I have a recipe template that contains two text areas for ingredients and directions, respectively. The issue that I run into is that when my wife or my mother input ingredients or directions, I have to go in behind them and format things.
Is there a way to add a toolbar with formatting buttons or a way to automatically format the text?
Avatar
elcro #2
Member for 2 weeks · 6 posts · Location: Berlin, Germany
Group memberships: Members
Show profile · Link to this post
hello

i hope that i understood your question correctly.
...and your are not talking about the actual form fields or fields in a struct-db or individual words in a form field. in which cases my answer would be rather useless. ;)

depends on what kind of formatting you talking about. if you are happy with the formatting possiblities in the regular edit window (e.g. bold, italic, H1,...) you would do that formatting in your template.

have a look at Method 2 in the template mode of the plug-in (https://www.dokuwiki.org/plugin:bureaucracy#template_mode)
where you hand over values via @@. just add the formatting you'd like in the template file.
e.g. **@@ingredient_A@@** for Sugar


Am currently also fiddling around with the bureaucracy plugin and struct myself. not sure, how well documented and widely used it is.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-02-19, 20:28:47 (UTC +01:00)