You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oof, good find, @shmerl! I hadn't noticed this bullet behavior before, but I also reproduced in a workspace that hasn't yet been migrated to WYSIWYG, so perhaps this rollout was independent.
Don't have time to dig into this now, but from a quick glance of the Slack JS it looks like the bullet conversion might be happening in the following block:
return t[0].elements.forEach(e=>{
if (e && e.type)
if (e.type === p.a.LIST) {
let t = 1;
e.elements.forEach(n=>{
const a = r(n);
"ordered" === e.style ? (i.push(`${t}. ${a}`),
t += 1) : i.push(`\u2022 ${a}`)
}
)
} else
i.push(r(e))
}
For example:
Will turn into
And when editing, it won't revert to raw markdown.
The text was updated successfully, but these errors were encountered: