Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
862b77a1
Commit
862b77a1
authored
Apr 09, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed size of circuit schematic to be the same as old editor
parent
c81953a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
djangoapps/simplewiki/mdx_circuit.py
+1
-1
static/js/CodeMirror/mitx_markdown.js
+2
-2
No files found.
djangoapps/simplewiki/mdx_circuit.py
View file @
862b77a1
...
...
@@ -65,7 +65,7 @@ class CircuitLink(markdown.inlinepatterns.Pattern):
def
handleMatch
(
self
,
m
):
data
=
m
.
group
(
'data'
)
data
=
escape
(
data
)
return
etree
.
fromstring
(
"<div align='center'><input type='hidden' parts='' value='"
+
data
+
"' analyses='' class='schematic ctrls' width='
500' height='30
0'/></div>"
)
return
etree
.
fromstring
(
"<div align='center'><input type='hidden' parts='' value='"
+
data
+
"' analyses='' class='schematic ctrls' width='
640' height='48
0'/></div>"
)
def
makeExtension
(
configs
=
None
)
:
...
...
static/js/CodeMirror/mitx_markdown.js
View file @
862b77a1
var
schematic_height
=
30
0
;
var
schematic_width
=
50
0
;
var
schematic_height
=
48
0
;
var
schematic_width
=
64
0
;
$
(
function
(){
$
(
document
).
ready
(
function
()
{
...
...
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