This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var BPS = {}; | |
BPS.defaultEditorAttrs = { | |
height: '200px', | |
width: '730px', | |
dompath: true, | |
animate: true, | |
handleSubmit: true, | |
filterWord: true, | |
resize: true, | |
toolbar: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
<%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.1" prefix="str" %> | |
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %> | |
<%@ attribute name="rteData" type="java.lang.String" required="true" %> | |
<%@ attribute name="editorData" type="java.lang.String" required="true" %> | |
<%@ attribute name="formname" type="java.lang.String" required="true" %> | |
<%@ attribute name="readOnly" type="java.lang.String" required="true" %> | |
<link rel="stylesheet" type="text/css" href="<c:url value='/scripts/yui_2.7.0/yui/build/assets/skins/sam/skin.css'/>" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
<%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.1" prefix="str" %> | |
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %> | |
<%@ attribute name="rteData" type="java.lang.String" required="true" %> | |
<%@ attribute name="editorData" type="java.lang.String" required="true" %> | |
<%@ attribute name="formname" type="java.lang.String" required="true" %> | |
<%@ attribute name="readOnly" type="java.lang.String" required="true" %> | |
<link rel="stylesheet" type="text/css" href="<c:url value='/scripts/yui_2.7.0/yui/build/assets/skins/sam/skin.css'/>" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
<%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.1" prefix="str" %> | |
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %> | |
<%@ attribute name="rteData" type="java.lang.String" required="true" %> | |
<%@ attribute name="editorData" type="java.lang.String" required="true" %> | |
<%@ attribute name="formname" type="java.lang.String" required="true" %> | |
<%@ attribute name="readOnly" type="java.lang.String" required="true" %> | |
<link rel="stylesheet" type="text/css" href="<c:url value='/scripts/yui_2.7.0/yui/build/assets/skins/sam/skin.css'/>" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
<%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.1" prefix="str" %> | |
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %> | |
<%@ attribute name="rteData" type="java.lang.String" required="true" %> | |
<%@ attribute name="editorData" type="java.lang.String" required="true" %> | |
<%@ attribute name="formname" type="java.lang.String" required="true" %> | |
<%@ attribute name="readOnly" type="java.lang.String" required="true" %> | |
<link rel="stylesheet" type="text/css" href="<c:url value='/scripts/yui_2.7.0/yui/build/assets/skins/sam/skin.css'/>" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.readOnly = true; | |
this.set('disabled', true); | |
this.hide(); | |
this.saveHTML(); | |
this.get('iframe').setStyle('visibility', 'hidden'); | |
var iframe = this.get('iframe'); | |
this.set('iframe', this._readOnlyFrame); | |
this.get('iframe').setStyle('visibility', 'visible'); | |
this.get('iframe').setStyle('height', '100%'); | |
this._setInitialContent(); |