why setting width for table in document will not take effect in suspended doc When using extension point DocumentationProvider?

Answered

Hello! 

I am trying to develop a idea plugin where extension point  com.intellij.lang.documentationProvider used for custom displayed doc content.

I added styles prop in document text like 

<style\>th {font-size:10px; width: 20px} td {word-break: break-all;}\</style\>, But Only setings for font-size took effect, table th width did not changed, i copy the html text to a normal .html file, it works when openning it in chromn. How can I set width of table th or td of documentation intellij plugin?  

0
1 comment

Documentation popup should not have fixed sizes, as user may choose to resize it or even pin it as toolwindow (e.g., very narrow). All documentation content thus should be “flexible” and adapt.

0

Please sign in to leave a comment.