mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 06:08:21 +01:00
Remove obsolete property AbstractRichText::$record
(#7211)
This commit is contained in:
parent
f5eb868663
commit
fa82ce32b9
@ -27,6 +27,7 @@ HumHub Changelog
|
||||
- Fix #7197: Increased version of `PHPOffice/PHPSpreadsheet` to v2.2+
|
||||
- Enh #7167: Disable DEBUG mode automatically after successful humhub installation. Add `.env` support
|
||||
- Enh #7202: Increased minimum PHP version to 8.1
|
||||
- Enh #7211: Remove obsolete property `AbstractRichText::$record`
|
||||
|
||||
1.16.2 (September 5, 2024)
|
||||
--------------------------
|
||||
|
@ -50,7 +50,7 @@ $module = Yii::$app->getModule('comment');
|
||||
<div class="content comment_edit_content" id="comment_editarea_<?= $comment->id; ?>">
|
||||
<div id="comment-message-<?= $comment->id; ?>" class="comment-message" data-ui-markdown data-ui-show-more
|
||||
data-read-more-text="<?= Yii::t('CommentModule.base', 'Read full comment...') ?>">
|
||||
<?= RichText::output($comment->message, ['record' => $comment]); ?>
|
||||
<?= RichText::output($comment->message) ?>
|
||||
</div>
|
||||
<?= ShowFiles::widget(['object' => $comment]); ?>
|
||||
</div>
|
||||
|
@ -144,11 +144,6 @@ abstract class AbstractRichText extends JsWidget
|
||||
*/
|
||||
protected static $converterClass;
|
||||
|
||||
/**
|
||||
* @var mixed can be used to identify the related record
|
||||
*/
|
||||
public $record;
|
||||
|
||||
/**
|
||||
* @var array of richtext extension classes used for preparing and post processing output and converter result
|
||||
* @since 1.8
|
||||
|
@ -23,6 +23,6 @@ $isDetailView = $renderOptions->isViewContext(WallStreamEntryOptions::VIEW_CONTE
|
||||
data-collapse-at="<?= $collapsedPostHeight ?>"
|
||||
<?php endif; ?>
|
||||
>
|
||||
<?= RichText::output($post->message, ['record' => $post]) ?>
|
||||
<?= RichText::output($post->message) ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user