mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
Disabled attached text
This commit is contained in:
@ -70,7 +70,8 @@
|
||||
let plainText = htmlContent.replace(/<\/?[^>]+(>|$)/g, "").replace(/\n{3,}/g, "\n\n");
|
||||
|
||||
if(item.role == 'user') {
|
||||
if(item.attachedText) {
|
||||
// TODO: For a future release.
|
||||
if(false && item.attachedText) {
|
||||
$attachedWrapper = $(
|
||||
'<div class="message_content_attached_wrapper collapsed">' +
|
||||
'<div class="message_content_attached">' +
|
||||
@ -678,7 +679,8 @@
|
||||
});
|
||||
|
||||
window.Asc.plugin.attachEvent("onAttachedText", function(text) {
|
||||
attachedText.set(text);
|
||||
// For a future release.
|
||||
// attachedText.set(text);
|
||||
});
|
||||
|
||||
window.Asc.plugin.attachEvent("onThemeChanged", onThemeChanged);
|
||||
|
||||
Reference in New Issue
Block a user