restore BR after the quoted text (but hide it using css) otherwise trouble on Android
This commit is contained in:
@@ -2500,6 +2500,11 @@ ul.tabbar li.active > a {
|
|||||||
margin-bottom: 0.1rem;
|
margin-bottom: 0.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hide <BR> after the quote */
|
||||||
|
.chat-box .reply-quote + br {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
#reply-quote-preview {
|
#reply-quote-preview {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -1333,5 +1333,12 @@
|
|||||||
"description": "Reply to message",
|
"description": "Reply to message",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"menu_item_forward": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Forward",
|
||||||
|
"description": "Forward message",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1389,5 +1389,12 @@
|
|||||||
"description": "Label for unarchiving the topic",
|
"description": "Label for unarchiving the topic",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"menu_item_forward": {
|
||||||
|
"translation": "Forward",
|
||||||
|
"defaultMessage": "Forward",
|
||||||
|
"description": "Forward message",
|
||||||
|
"missing": false,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1333,5 +1333,12 @@
|
|||||||
"description": "Reply to message",
|
"description": "Reply to message",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"menu_item_forward": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Forward",
|
||||||
|
"description": "Forward message",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -429,6 +429,10 @@
|
|||||||
"defaultMessage": "Edit permissions",
|
"defaultMessage": "Edit permissions",
|
||||||
"description": "Menu item [Edit permissions]"
|
"description": "Menu item [Edit permissions]"
|
||||||
},
|
},
|
||||||
|
"menu_item_forward": {
|
||||||
|
"defaultMessage": "Forward",
|
||||||
|
"description": "Forward message"
|
||||||
|
},
|
||||||
"menu_item_info": {
|
"menu_item_info": {
|
||||||
"defaultMessage": "Info",
|
"defaultMessage": "Info",
|
||||||
"description": "Show extended topic information"
|
"description": "Show extended topic information"
|
||||||
|
|||||||
@@ -1333,5 +1333,12 @@
|
|||||||
"description": "Reply to message",
|
"description": "Reply to message",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"menu_item_forward": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Forward",
|
||||||
|
"description": "Forward message",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1333,5 +1333,12 @@
|
|||||||
"description": "Reply to message",
|
"description": "Reply to message",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"menu_item_forward": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Forward",
|
||||||
|
"description": "Forward message",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1333,5 +1333,12 @@
|
|||||||
"description": "Reply to message",
|
"description": "Reply to message",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"menu_item_forward": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Forward",
|
||||||
|
"description": "Forward message",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1333,5 +1333,12 @@
|
|||||||
"description": "Reply to message",
|
"description": "Reply to message",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"menu_item_forward": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Forward",
|
||||||
|
"description": "Forward message",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1333,5 +1333,12 @@
|
|||||||
"description": "Reply to message",
|
"description": "Reply to message",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"menu_item_forward": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Forward",
|
||||||
|
"description": "Forward message",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -688,7 +688,7 @@ class MessagesView extends React.Component {
|
|||||||
if (typeof msg == 'string') {
|
if (typeof msg == 'string') {
|
||||||
msg = Drafty.parse(msg);
|
msg = Drafty.parse(msg);
|
||||||
}
|
}
|
||||||
msg = Drafty.append(this.state.reply.content, msg);
|
msg = Drafty.append(Drafty.appendLineBreak(this.state.reply.content), msg);
|
||||||
this.handleCancelReply();
|
this.handleCancelReply();
|
||||||
}
|
}
|
||||||
this.props.sendMessage(msg, uploadCompletionPromise, uploader, head);
|
this.props.sendMessage(msg, uploadCompletionPromise, uploader, head);
|
||||||
|
|||||||
@@ -78,9 +78,15 @@ class BaseChatMessage extends React.PureComponent {
|
|||||||
menuItems.push('menu_item_reply');
|
menuItems.push('menu_item_reply');
|
||||||
menuItems.push('menu_item_forward');
|
menuItems.push('menu_item_forward');
|
||||||
}
|
}
|
||||||
this.props.showContextMenu({ seq: this.props.seq, content: this.props.content,
|
this.props.showContextMenu({
|
||||||
userFrom: this.props.userFrom, userName: this.props.userName,
|
seq: this.props.seq,
|
||||||
y: e.pageY, x: e.pageX, pickReply: this.props.pickReply }, menuItems);
|
content: this.props.content,
|
||||||
|
userFrom: this.props.userFrom,
|
||||||
|
userName: this.props.userName,
|
||||||
|
y: e.pageY,
|
||||||
|
x: e.pageX,
|
||||||
|
pickReply: this.props.pickReply
|
||||||
|
}, menuItems);
|
||||||
}
|
}
|
||||||
|
|
||||||
handleProgress(ratio) {
|
handleProgress(ratio) {
|
||||||
|
|||||||
+324
-130
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user