Skip to content

Commit

Permalink
ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanminutillo committed Jul 7, 2024
1 parent 8129fd0 commit e3b0b68
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function mentionsPluginView(view) {
const content = document.createElement('ul');
content.tabIndex = 1;

content.className = 'milkdown-menu absolute m-0 p-0 menu w-72 bg-base-100 border border-base-content/10 shadow-lg';
content.className = 'milkdown-menu absolute m-0 p-0 menu left-menu bg-base-200 border border-base-content/10 shadow-xl border-lg';
let list = ''

const provider = new SlashProvider({
Expand All @@ -71,8 +71,6 @@ function mentionsPluginView(view) {


const mentions = currentText.match(MENTION_REGEX)
console.log("mentions")
console.log(mentions)
// Display the menu if the last character is `@` followed by 2 chars.
if (mentions) {
// get the characters that follows the `@` in currentText
Expand Down Expand Up @@ -339,8 +337,6 @@ const createEditor = async (_this, hidden_input, composer$) => {
.replace(/(#[^_\s]+)\\(_[^_\s]+)/g, '$1$2');

hidden_input.value = transformedMarkdown;
console.log("hidden_input.value");
console.log(hidden_input.value);
const inputEvent = new Event('input', {
bubbles: true,
});
Expand Down

0 comments on commit e3b0b68

Please sign in to comment.