add setStyleSheet method to credocument
This commit is contained in:
1 parent
272c7a2e25
commit
6c4da43dbf
1 file changed
+4
@@ -281,6 +281,10 @@ function CreDocument:setGammaIndex(index)
|
||||
cre.setGammaIndex(index)
|
||||
end
|
||||
|
||||
function CreDocument:setStyleSheet(new_css)
|
||||
self._document:setStyleSheet(new_css);
|
||||
end
|
||||
|
||||
DocumentRegistry:addProvider("txt", "application/txt", CreDocument)
|
||||
DocumentRegistry:addProvider("epub", "application/epub", CreDocument)
|
||||
DocumentRegistry:addProvider("html", "application/html", CreDocument)
|
||||
|
||||
Reference in new issue
Block a user