Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add setHTML method that was added to the Etherpad Lite API

  • Loading branch information...
commit 562a940544e6b3d948002060eebcb0f627a67219 1 parent fafbfe3
@timtebeek timtebeek authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/py_etherpad.py
View
7 src/py_etherpad.py
@@ -187,6 +187,13 @@ def setText(self, padID, text):
"text": text
})
+ def setHTML(self, padID, html):
+ """sets the text of a pad from html"""
+ return self.call("setHTML", {
+ "padID": padID,
+ "html": html
+ })
+
# PAD
# Group pads are normal pads, but with the name schema
# GROUPID$PADNAME. A security manager controls access of them and its
Please sign in to comment.
Something went wrong with that request. Please try again.