Closed mkagenius closed 3 years ago
When set using cur_node.setAttribute("data-tooltip", "Multi Line Support");
cur_node.setAttribute("data-tooltip", "Multi Line Support");
It becomes Multi 
 Line 
 Support without any multiline.
Multi 
 Line 
 Support
Understandably this is the expected behavior here; but is there a way to add multiline tooltip via javascript?
Fixed by actually not using has-multiline-tooltip and just using this: ur_node.setAttribute("data-tooltip", "Multi \n Line \n Support");
ur_node.setAttribute("data-tooltip", "Multi \n Line \n Support");
Anti-climatic. ikr
When set using
cur_node.setAttribute("data-tooltip", "Multi Line Support");
It becomes
Multi 
 Line 
 Support
without any multiline.Understandably this is the expected behavior here; but is there a way to add multiline tooltip via javascript?