Advanced BBCode Box 3

Adding a Default Value to a Code - Advanced BBCode Box 3

Adding a Default Value to a Code

by Matthew G. Saroff » Fri Jun 22, 2018 4:08 pm

I know that it can be done, float, align, highlight, etc. have default values that the user can edit, but I'm not sure how to do it on my custom BBCodes.

When a user wants to set an external image with, and highlight the image (in this example http://www.pobox.com/~msaroff/badhair/badhair.jpg), I want the code to be pasted as follows:
[imgwide=500]http://www.panix.com/~msaroff/badhair/b ... pg[imgwide]

And then they can edit the number to change the size.
--
The Dream involves 4 sets of identical twins, 2 gallons of Cool Whip, 5 quarts of chocolate syrup, 2-1/4 pounds of strawberries, satin sheets, a magnum of champagne, a trapeze, and a python.
User avatar
Matthew G. Saroff
Registered User
Posts: 42
Joined: Fri May 09, 2014 8:48 pm
Name: Matthew G. Saroff
Contact: