Class to manipulate the rich text paragraph text (including variables)
Attributes
text: str
Functions
Initialize self. See help(type(self)) for accurate signature.
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
text | str |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
target_element | BeautifulSoup |
Return type:
str |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
target_element | BeautifulSoup |
Return type:
str |
Replace the variable in the rich text content text
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
variable_name | str | The name of the variable to replace |
Return type:
ReplaceWithBlockResultDTO |
Replace the variable in the rich text content text
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
variable_name | str | The name of the variable to replace | |
value | str | The value to replace the variable |
Return type:
str |