Browse code

Add more information about BB-codes

Manuel Thalmann authored on 24/04/2018 12:13:27
Showing 2 changed files
... ...
@@ -9,7 +9,7 @@ export default interface IBBCodeAttribute
9 9
     Required?: boolean;
10 10
 
11 11
     /**
12
-     * Gets or sets a value indicating if the value of the attribute - if not present - should be taken by the content of the bb-code.
12
+     * Gets or sets a value indicating whether to use the content of the bb code as it's value.
13 13
      */
14 14
     ValueByContent?: boolean;
15 15
 
... ...
@@ -1136,7 +1136,8 @@ A BBCode-attribute allows users to provide further arguments to the bbcode in or
1136 1136
 A value indicating whether the user **must** provide a value for this attribute.
1137 1137
 
1138 1138
 #### `ValueByContent`
1139
-This property allows you to specify whether the value should be taken from the content of the BB-code if no value for this attribute is present.
1139
+This property allows you to specify whether the value should be taken from the content of the BB-code.  
1140
+Please note that **this will remove the content of the bb-code**.
1140 1141
 
1141 1142
 URL-Tags, for example, have this set to `true` which causes...
1142 1143
 ```