Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
d0bdb99c
Commit
d0bdb99c
authored
Dec 01, 2011
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update xinha_support so that the editor field is rendered in the area properly.
parent
7b02fc2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
bt5/erp5_xinha_editor/SkinTemplateItem/portal_skins/erp5_xinha_editor/xinha_support.xml
...lateItem/portal_skins/erp5_xinha_editor/xinha_support.xml
+4
-8
bt5/erp5_xinha_editor/bt/revision
bt5/erp5_xinha_editor/bt/revision
+1
-1
No files found.
bt5/erp5_xinha_editor/SkinTemplateItem/portal_skins/erp5_xinha_editor/xinha_support.xml
View file @
d0bdb99c
...
...
@@ -36,27 +36,23 @@
<key>
<string>
_text
</string>
</key>
<value>
<unicode
encoding=
"cdata"
>
<![CDATA[
<head>
\n
<tal:block
tal:define=
"site_root python: here.getWebSiteValue() or here.getPortalObject();\n
portal_url python: site_root.absolute_url();"
>
\n
<tal:block tal:define="site_root python: here.getWebSiteValue() or here.getPortalObject();\n
portal_url python: site_root.absolute_url();">
\n
<script
type=
"text/javascript"
tal:content=
"structure string:\n
_editor_url = \'${portal_url}/xinha\'"
>
\n
</script>
\n
<script
type=
"text/javascript"
tal:attributes=
"src string:${portal_url}/xinha/XinhaCore.js"
></script>
\n
<script
type=
"text/javascript"
tal:attributes=
"src string:${portal_url}/xinha/LoadEditor.js"
></script>
\n
</tal:block>
\n
</head>
\n
<body>
\n
<tal:block
tal:define=
"field_value python: field_value;\n
field_name python: field_name;\n
cols python: field.get_value(\'width\');\n
rows python: field.get_value(\'height\');"
>
\n
<textarea
id=
"my_text_content"
tal:content=
"field_value"
\n
<textarea
id=
"my_text_content"
style=
"width:100%;"
tal:content=
"field_value"
\n
tal:attributes=
"name field_name;\n
rows rows;\n
cols cols;"
/>
\n
</tal:block>
\n
</
body
>
</
tal:block
>
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_xinha_editor/bt/revision
View file @
d0bdb99c
8
\ No newline at end of file
9
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment