mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-23 08:48:12 +00:00
add more image snippets and other snippets
This commit is contained in:
@@ -66,7 +66,6 @@ const ImageSelector = createClass({
|
||||
const currentText = `${label}${current ?? ''}`;
|
||||
const index = 2;
|
||||
const value = label + this.state.selected;
|
||||
console.log(text, pattern, currentText, value, fullmatch, label, current);
|
||||
cm.replaceRange(value, CodeMirror.Pos(n, index), CodeMirror.Pos(n, index + currentText.length), '+insert');
|
||||
},
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
max-height: 60vh;
|
||||
overflow-y: scroll;
|
||||
|
||||
img {
|
||||
flex: 0 0 auto;
|
||||
|
||||
Reference in New Issue
Block a user