Function __global->add_wysiwyg_comcode_markup
Definitions
sources/comcode_compiler.php
- Output a Comcode tag in WYSIWYG-editor format, for tidy editing.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$tag | string | required parameter | N/A | N/A | The Comcode tag |
$attributes | array | required parameter | N/A | N/A | The parameters |
$embed | Tempcode | required parameter | N/A | N/A | The contents of the tag |
$semihtml | boolean | required parameter | N/A | N/A | Whether we are in semihtml mode. We are always in semi-parse mode |
$method | ?integer | Null | N/A | N/A | Display method (null: auto-detect) |
$html_errors | boolean | False | N/A | N/A | Whether HTML structure errors have been spotted so far (limits how $semiparse_mode rendering works) |
Return
- The HTML (null: render as native HTML)
- Type: ?string
- Set: N/A
- Range: N/A