code: public void setCode(final String code) {
          if (isAttached()) {
              setCode(getElement(), code);
          } else {
              getElement().setInnerHTML(code);
          }
      }
docs: Sets the given HTML code to the editor.
  
  @param code