ether / ep_font_color

Font Color Plugin for Etherpad
Apache License 2.0
2 stars 15 forks source link

Add fallback when no plugin returns a value on getLineHTMLForExport() #9

Closed lpagliari closed 8 years ago

lpagliari commented 8 years ago

Etherpad only exports context.lineContent on HTML export when at least one plugin returns a value. If this is the only plugin installed, or if none of the installed plugins retuns a value, all code made on exportHTML.js will be ignored. To fix this, it was necessary to add a fallback style on exported CSS.

This fixes #8.