mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 08:17:12 +02:00
Minor adjustments
This commit is contained in:
@@ -542,6 +542,7 @@ class FieldtypeComments extends FieldtypeMulti {
|
|||||||
$schema['keys']['pages_id'] = "KEY `pages_id` (`pages_id`,`status`,`created`)";
|
$schema['keys']['pages_id'] = "KEY `pages_id` (`pages_id`,`status`,`created`)";
|
||||||
$schema['keys']['created'] = "KEY `created` (`created`, `status`)";
|
$schema['keys']['created'] = "KEY `created` (`created`, `status`)";
|
||||||
$schema['keys']['data'] = "FULLTEXT KEY `data` (`data`)";
|
$schema['keys']['data'] = "FULLTEXT KEY `data` (`data`)";
|
||||||
|
$schema['xtra']['all'] = false;
|
||||||
|
|
||||||
return $schema;
|
return $schema;
|
||||||
}
|
}
|
||||||
|
@@ -28,7 +28,7 @@ class TextformatterMarkdownExtra extends Textformatter implements ConfigurableMo
|
|||||||
const flavorParsedownExtra = 2;
|
const flavorParsedownExtra = 2;
|
||||||
const flavorParsedown = 4;
|
const flavorParsedown = 4;
|
||||||
const flavorMarkdownExtra = 2;
|
const flavorMarkdownExtra = 2;
|
||||||
const flavorRCD = 16; // add RCD extensions to one of above, @see markdownExtensions() method
|
const flavorRCD = 16; // add RCD extensions to one of above, @see markdownExtensions() method (@deprecated)
|
||||||
|
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
$this->set('flavor', self::flavorDefault);
|
$this->set('flavor', self::flavorDefault);
|
||||||
@@ -80,6 +80,7 @@ class TextformatterMarkdownExtra extends Textformatter implements ConfigurableMo
|
|||||||
* A few RCD extentions to MarkDown syntax, to be executed after Markdown has already had it's way with the text
|
* A few RCD extentions to MarkDown syntax, to be executed after Markdown has already had it's way with the text
|
||||||
*
|
*
|
||||||
* @param string $str
|
* @param string $str
|
||||||
|
* @deprecated
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function markdownExtensions(&$str) {
|
public function markdownExtensions(&$str) {
|
||||||
|
Reference in New Issue
Block a user