We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a0275b commit 5bbee2dCopy full SHA for 5bbee2d
1 file changed
src/extensions/yfm/Color/index.ts
@@ -35,6 +35,10 @@ export const Color: ExtensionAuto = (builder) => {
35
if (!hasMark) return true;
36
37
// remove mark
38
+ // TODO: @makhnatkin currently params[colorMarkName] = '' is sent
39
+ // when clicking the same color repeatedly
40
+ // because of this we can't determine which color it was, we need to always send the color,
41
+ // but handle the removal logic differently
42
return toggleMark(type, params)(state, dispatch);
43
}
44
0 commit comments