diff --git a/how.html b/how.html index 72586b5..a631898 100644 --- a/how.html +++ b/how.html @@ -175,7 +175,6 @@ $(".alert-success").hide(); $(".alert-danger").hide(); - if(yourSelectionCorrect == "yes") { $(".alert-success").html(answer); $(".alert-success").show(); @@ -197,7 +196,6 @@ }); $('#generalGuidelinesModal').modal("show"); } - //******************** SPECIFIC GUIDELINES ******************************************************************************** //DEFINE SPECIFIC ITEMS @@ -226,7 +224,6 @@ } $('#specificSidebar').html(specificSidebarItems); */ - //POPULATE MAIN COLUMN var specificMainColumnItems = ""; var previousCategory = ""; @@ -247,7 +244,6 @@ } $('#specificItems').html(specificMainColumnItems); - //WIREUP CLICK EXAMPLES TO OPEN MODAL $('.startSpecificExample').click(function() { var id = this.id.replace('button',''); @@ -271,7 +267,6 @@ function specificGuidelinesModalOpen(id) { specificGuidelinesModalReset(); - var specificItemObj = window[id]; var category = specificItemObj[0].category; var title = specificItemObj[0].title; @@ -338,12 +333,10 @@ $('#templateButton').off(); $('#specificModal').modal("show"); - // VENN DIAGRAM TEMPLATE if(id == "specific08") { $('#templateButton').click(function() { - //hide editor $('#step2').hide(); //show the template @@ -400,7 +393,6 @@ // PIE GRAPH TEMPLATE if(id == "specific24") { $('#templateButton').click(function() { - //hide editor $('#step2').hide(); //show the template @@ -433,7 +425,6 @@ var pieWedge5Description = $("#pieWedge5Description").val(); var pieWedge5Units = $("#pieWedge5Units").val(); var pieWedge5Percent = $("#pieWedge5Percent").val(); - //hide this $('#step2a_pie').hide(); @@ -441,7 +432,6 @@ //var string = "This is a pie chart titled: " +pieTitle+. " The chart has " +pieNumWedges+ " wedges, labeled in " +pieUnits+ " [and percentages]. A caption reads: " +pieCaption+". The data is summarized in the following table: ***TABLE HERE***" ; var string = "This is a pie chart titled: " +pieTitle+". The chart has 5 wedges, labeled in " +pieUnits+ " and percentages. A caption reads: " +pieCaption+". The data is summarized in the following table: " ; var table = "
"+ pieUnits +" % of Total
"+ pieWedge1Description +" "+ pieWedge1Units +" "+ pieWedge1Percent +"
"+ pieWedge2Description +" "+ pieWedge2Units +" "+ pieWedge2Percent +"
"+ pieWedge3Description +" "+ pieWedge3Units +" "+ pieWedge3Percent +"
"+ pieWedge4Description +" "+ pieWedge4Units +" "+ pieWedge4Percent +"
"+ pieWedge5Description +" "+ pieWedge5Units +" "+ pieWedge5Percent +"
"; - tinyMCE.activeEditor.setContent(string+table); //show editor @@ -472,7 +462,6 @@ // SCATTERPLOT TEMPLATE if(id == "specific25") { $('#templateButton').click(function() { - //hide editor $('#step2').hide(); //show the template @@ -505,7 +494,6 @@ //populate editor var string = "A scatter plot titled: "+scatterTitle+". A caption reads: "+scatterCaption+". The horizontal axis is labeled "+scatterXAxisLabel+", and ranges from "+scatterXAxisMin+" to "+scatterXAxisMax+" in increments of "+scatterXAxisIncrements+" "+scatterXAxisUnits+". The vertical axis is labeled "+scatterYAxisLabel+", and ranges from "+scatterYAxisMin+" to "+scatterYAxisMax+" in increments of "+scatterYAxisIncrements+" "+scatterYAxisUnits+". The graph approximates "+scatterNumPoints+" points scattered in a pattern where "+scatterTrend+"."; //var table = "
"+scatterXAxisLabel+"
"+scatterXAxisUnits+"
"+scatterYAxisLabel+"
"+scatterYAxisUnits+"
Point Type
"+point1XAxis+" "+point1YAxis+" "+point1PointType+"
"+point2XAxis+" "+point2YAxis+" "+point2PointType+"
"+point3XAxis+" "+point3YAxis+" "+point3PointType+"
"+point4XAxis+" "+point4YAxis+" "+point4PointType+"
"+point5XAxis+" "+point5YAxis+" "+point5PointType+"
"; - tinyMCE.activeEditor.setContent(string/* +table */); //show editor @@ -534,7 +522,6 @@ // LINE GRAPH TEMPLATE if(id == "specific23") { $('#templateButton').click(function() { - //hide editor $('#step2').hide(); //show the template @@ -559,16 +546,13 @@ var lineYAxisIncrements = $("#lineYAxisIncrements").val(); var lineYAxisUnits = $("#lineYAxisUnits").val(); var lineNumLines = $("#lineNumLines").val(); -// var scatterTrend = $("#scatterTrend").val(); //hide this $('#step2a_line').hide(); //populate editor - var string = "A scatter plot titled: "+scatterTitle+". A caption reads: "+scatterCaption+". The horizontal axis is labeled "+scatterXAxisLabel+", and ranges from "+scatterXAxisMin+" to "+scatterXAxisMax+" in increments of "+scatterXAxisIncrements+" "+scatterXAxisUnits+". The vertical axis is labeled "+scatterYAxisLabel+", and ranges from "+scatterYAxisMin+" to "+scatterYAxisMax+" in increments of "+scatterYAxisIncrements+" "+scatterYAxisUnits+". The graph approximates "+scatterNumPoints+" points scattered in a pattern where "+scatterTrend+"."; - //var table = "
"+scatterXAxisLabel+"
"+scatterXAxisUnits+"
"+scatterYAxisLabel+"
"+scatterYAxisUnits+"
Point Type
"+point1XAxis+" "+point1YAxis+" "+point1PointType+"
"+point2XAxis+" "+point2YAxis+" "+point2PointType+"
"+point3XAxis+" "+point3YAxis+" "+point3PointType+"
"+point4XAxis+" "+point4YAxis+" "+point4PointType+"
"+point5XAxis+" "+point5YAxis+" "+point5PointType+"
"; - - tinyMCE.activeEditor.setContent(string/* +table */); + var string = "A line plot titled: "+lineTitle+". A caption reads: "+lineCaption+". The horizontal axis is labeled "+lineXAxisLabel+", and ranges from "+lineXAxisMin+" to "+lineXAxisMax+" in increments of "+lineXAxisIncrements+" "+lineXAxisUnits+". The vertical axis is labeled "+lineYAxisLabel+", and ranges from "+lineYAxisMin+" to "+lineYAxisMax+" in increments of "+lineYAxisIncrements+" "+lineYAxisUnits+". The graph depicts "+lineNumLines+" lines."; + tinyMCE.activeEditor.setContent(string); //show editor $('#step2').show(); @@ -596,7 +580,6 @@ // VERTICAL BAR GRAPH TEMPLATE if(id == "specific20") { $('#templateButton').click(function() { - //hide editor $('#step2').hide(); //show the template @@ -608,29 +591,25 @@ $('#modalStep2aPreviousButton').show(); $('#modalStep2aNextButton').click(function() { - var scatterTitle = $("#scatterTitle").val(); - var scatterCaption = $("#scatterCaption").val(); - var scatterXAxisLabel = $("#scatterXAxisLabel").val(); - var scatterXAxisMin = $("#scatterXAxisMin").val(); - var scatterXAxisMax = $("#scatterXAxisMax").val(); - var scatterXAxisIncrements = $("#scatterXAxisIncrements").val(); - var scatterXAxisUnits = $("#scatterXAxisUnits").val(); - var scatterYAxisLabel = $("#scatterYAxisLabel").val(); - var scatterYAxisMin = $("#scatterYAxisMin").val(); - var scatterYAxisMax = $("#scatterYAxisMax").val(); - var scatterYAxisIncrements = $("#scatterYAxisIncrements").val(); - var scatterYAxisUnits = $("#scatterYAxisUnits").val(); - var scatterNumPoints = $("#scatterNumPoints").val(); - var scatterTrend = $("#scatterTrend").val(); - + var verticalTitle = $("#verticalTitle").val(); + var verticalCaption = $("#verticalCaption").val(); + var verticalXAxisLabel = $("#verticalXAxisLabel").val(); + var verticalXAxisMin = $("#verticalXAxisMin").val(); + var verticalXAxisMax = $("#verticalXAxisMax").val(); + var verticalXAxisIncrements = $("#verticalXAxisIncrements").val(); + var verticalXAxisUnits = $("#verticalXAxisUnits").val(); + var verticalYAxisLabel = $("#verticalYAxisLabel").val(); + var verticalYAxisMin = $("#verticalYAxisMin").val(); + var verticalYAxisMax = $("#verticalYAxisMax").val(); + var verticalYAxisIncrements = $("#verticalYAxisIncrements").val(); + var verticalYAxisUnits = $("#verticalYAxisUnits").val(); + //hide this $('#step2a_verticalBar').hide(); //populate editor - var string = "A scatter plot titled: "+scatterTitle+". A caption reads: "+scatterCaption+". The horizontal axis is labeled "+scatterXAxisLabel+", and ranges from "+scatterXAxisMin+" to "+scatterXAxisMax+" in increments of "+scatterXAxisIncrements+" "+scatterXAxisUnits+". The vertical axis is labeled "+scatterYAxisLabel+", and ranges from "+scatterYAxisMin+" to "+scatterYAxisMax+" in increments of "+scatterYAxisIncrements+" "+scatterYAxisUnits+". The graph approximates "+scatterNumPoints+" points scattered in a pattern where "+scatterTrend+"."; - //var table = "
"+scatterXAxisLabel+"
"+scatterXAxisUnits+"
"+scatterYAxisLabel+"
"+scatterYAxisUnits+"
Point Type
"+point1XAxis+" "+point1YAxis+" "+point1PointType+"
"+point2XAxis+" "+point2YAxis+" "+point2PointType+"
"+point3XAxis+" "+point3YAxis+" "+point3PointType+"
"+point4XAxis+" "+point4YAxis+" "+point4PointType+"
"+point5XAxis+" "+point5YAxis+" "+point5PointType+"
"; - - tinyMCE.activeEditor.setContent(string/* +table */); + var string = "A vertical bar graph titled: "+verticalTitle+". A caption reads: "+verticalCaption+". The horizontal axis is labeled "+verticalXAxisLabel+", and ranges from "+verticalXAxisMin+" to "+verticalXAxisMax+" in increments of "+verticalXAxisIncrements+" "+verticalXAxisUnits+". The vertical axis is labeled "+verticalYAxisLabel+", and ranges from "+verticalYAxisMin+" to "+verticalYAxisMax+" in increments of "+verticalYAxisIncrements+" "+verticalYAxisUnits+"."; + tinyMCE.activeEditor.setContent(string); //show editor $('#step2').show(); @@ -658,7 +637,6 @@ // HORIZONTAL BAR GRAPH TEMPLATE if(id == "specific21") { $('#templateButton').click(function() { - //hide editor $('#step2').hide(); //show the template @@ -670,29 +648,25 @@ $('#modalStep2aPreviousButton').show(); $('#modalStep2aNextButton').click(function() { - var scatterTitle = $("#scatterTitle").val(); - var scatterCaption = $("#scatterCaption").val(); - var scatterXAxisLabel = $("#scatterXAxisLabel").val(); - var scatterXAxisMin = $("#scatterXAxisMin").val(); - var scatterXAxisMax = $("#scatterXAxisMax").val(); - var scatterXAxisIncrements = $("#scatterXAxisIncrements").val(); - var scatterXAxisUnits = $("#scatterXAxisUnits").val(); - var scatterYAxisLabel = $("#scatterYAxisLabel").val(); - var scatterYAxisMin = $("#scatterYAxisMin").val(); - var scatterYAxisMax = $("#scatterYAxisMax").val(); - var scatterYAxisIncrements = $("#scatterYAxisIncrements").val(); - var scatterYAxisUnits = $("#scatterYAxisUnits").val(); - var scatterNumPoints = $("#scatterNumPoints").val(); - var scatterTrend = $("#scatterTrend").val(); + var horizontalTitle = $("#horizontalTitle").val(); + var horizontalCaption = $("#horizontalCaption").val(); + var horizontalXAxisLabel = $("#horizontalXAxisLabel").val(); + var horizontalXAxisMin = $("#horizontalXAxisMin").val(); + var horizontalXAxisMax = $("#horizontalXAxisMax").val(); + var horizontalXAxisIncrements = $("#horizontalXAxisIncrements").val(); + var horizontalXAxisUnits = $("#horizontalXAxisUnits").val(); + var horizontalYAxisLabel = $("#horizontalYAxisLabel").val(); + var horizontalYAxisMin = $("#horizontalYAxisMin").val(); + var horizontalYAxisMax = $("#horizontalYAxisMax").val(); + var horizontalYAxisIncrements = $("#horizontalYAxisIncrements").val(); + var horizontalYAxisUnits = $("#horizontalYAxisUnits").val(); //hide this $('#step2a_horizontalBar').hide(); //populate editor - var string = "A scatter plot titled: "+scatterTitle+". A caption reads: "+scatterCaption+". The horizontal axis is labeled "+scatterXAxisLabel+", and ranges from "+scatterXAxisMin+" to "+scatterXAxisMax+" in increments of "+scatterXAxisIncrements+" "+scatterXAxisUnits+". The vertical axis is labeled "+scatterYAxisLabel+", and ranges from "+scatterYAxisMin+" to "+scatterYAxisMax+" in increments of "+scatterYAxisIncrements+" "+scatterYAxisUnits+". The graph approximates "+scatterNumPoints+" points scattered in a pattern where "+scatterTrend+"."; - //var table = "
"+scatterXAxisLabel+"
"+scatterXAxisUnits+"
"+scatterYAxisLabel+"
"+scatterYAxisUnits+"
Point Type
"+point1XAxis+" "+point1YAxis+" "+point1PointType+"
"+point2XAxis+" "+point2YAxis+" "+point2PointType+"
"+point3XAxis+" "+point3YAxis+" "+point3PointType+"
"+point4XAxis+" "+point4YAxis+" "+point4PointType+"
"+point5XAxis+" "+point5YAxis+" "+point5PointType+"
"; - - tinyMCE.activeEditor.setContent(string/* +table */); + var string = "A horizontal bar graph titled: "+horizontalTitle+". A caption reads: "+horizontalCaption+". The horizontal axis is labeled "+horizontalXAxisLabel+", and ranges from "+horizontalXAxisMin+" to "+horizontalXAxisMax+" in increments of "+horizontalXAxisIncrements+" "+horizontalXAxisUnits+". The vertical axis is labeled "+horizontalYAxisLabel+", and ranges from "+horizontalYAxisMin+" to "+horizontalYAxisMax+" in increments of "+horizontalYAxisIncrements+" "+horizontalYAxisUnits+"."; + tinyMCE.activeEditor.setContent(string/* +table */); //show editor $('#step2').show(); @@ -781,7 +755,6 @@ } //******************** GENRAL FUNCTIONS ******************************************************************************** - $("#generalGuidelinesModal").on('shown.bs.modal', function (e) { $("#generalGuidelinesModalTitle").focus(); }); @@ -1430,7 +1403,80 @@

Try Describing the Image:

- horizontal bar graph +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+

Your Description:

@@ -1458,12 +1504,4 @@

Sample Description:

- - - - - - - - - + \ No newline at end of file diff --git a/images/cancel.png b/images/cancel.png new file mode 100644 index 0000000..b84132e Binary files /dev/null and b/images/cancel.png differ diff --git a/lib/ckeditor/CHANGES.md b/lib/ckeditor/CHANGES.md index 6a6e62f..03af26f 100644 --- a/lib/ckeditor/CHANGES.md +++ b/lib/ckeditor/CHANGES.md @@ -1,3 +1,4 @@ +<<<<<<< d68a8cde7a873e849c7470f3c00e8bc6ee274eb1 CKEditor 4 Changelog ==================== @@ -1116,3 +1117,1123 @@ possible. The list of relevant changes can be found in the [API Changes page of the CKEditor 4 documentation][1]. [1]: http://docs.ckeditor.com/#!/guide/dev_api_changes "API Changes" +======= +CKEditor 4 Changelog +==================== + +## CKEditor 4.5.11 + +**Security Updates:** + +* [Severity: minor] Fixed the target="_blank" vulnerability reported by James Gaskell. + + Issue summary: If a victim had access to a spoofed version of ckeditor.com via HTTP (e.g. due to DNS spoofing, using a hacked public network or mailicious hotspot), then when using a link to the ckeditor.com website it was possible for the attacker to change the current URL of the opening page, even if the opening page was protected with SSL. + + An upgrade is recommended. + +New Features: + +* [#14747](http://dev.ckeditor.com/ticket/14747): The [Enhanced Image](http://ckeditor.com/addon/image2) caption now supports the link `target` attribute. +* [#7154](http://dev.ckeditor.com/ticket/7154): Added support for the "Display Text" field to the [Link](http://ckeditor.com/addon/link) dialog. Thanks to [Ryan Guill](https://github.com/ryanguill)! + +Fixed Issues: + +* [#13362](http://dev.ckeditor.com/ticket/13362): [Blink, WebKit] Fixed: Active widget element is not cached when it is losing focus and it is inside an editable element. +* [#13755](http://dev.ckeditor.com/ticket/13755): [Edge] Fixed: Pasting images does not work. +* [#13548](http://dev.ckeditor.com/ticket/13548): [IE] Fixed: Clicking the [elements path](http://ckeditor.com/addon/elementspath) disables Cut and Copy icons. +* [#13812](http://dev.ckeditor.com/ticket/13812): Fixed: When aborting file upload the placeholder for image is left. +* [#14659](http://dev.ckeditor.com/ticket/14659): [Blink] Fixed: Content scrolled to the top after closing the dialog in a [`
`-based editor](http://ckeditor.com/addon/divarea). +* [#14825](http://dev.ckeditor.com/ticket/14825): [Edge] Fixed: Focusing the editor causes unwanted scrolling due to dropped support for the `setActive` method. + +## CKEditor 4.5.10 + +Fixed Issues: + +* [#10750](http://dev.ckeditor.com/ticket/10750): Fixed: The editor does not escape the `font-style` family property correctly, removing quotes and whitespace from font names. +* [#14413](http://dev.ckeditor.com/ticket/14413): Fixed: The [Auto Grow](http://ckeditor.com/addon/autogrow) plugin with the [`config.autoGrow_onStartup`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-autoGrow_onStartup) option set to `true` does not work properly for an editor that is not visible. +* [#14451](http://dev.ckeditor.com/ticket/14451): Fixed: Numeric element ID not escaped properly. Thanks to [Jakub Chalupa](https://github.com/chaluja7)! +* [#14590](http://dev.ckeditor.com/ticket/14590): Fixed: Additional line break appearing after inline elements when switching modes. Thanks to [dpidcock](https://github.com/dpidcock)! +* [#14539](https://dev.ckeditor.com/ticket/14539): Fixed: JAWS reads "selected Blank" instead of "selected " when selecting a widget. +* [#14701](http://dev.ckeditor.com/ticket/14701): Fixed: More precise labels for [Enhanced Image](http://ckeditor.com/addon/image2) and [Placeholder](http://ckeditor.com/addon/placeholder) widgets. +* [#14667](http://dev.ckeditor.com/ticket/14667): [IE] Fixed: Removing background color from selected text removes background color from the whole paragraph. +* [#14252](http://dev.ckeditor.com/ticket/14252): [IE] Fixed: Styles drop-down list does not always reflect the current style of the text line. +* [#14275](http://dev.ckeditor.com/ticket/14275): [IE9+] Fixed: `onerror` and `onload` events are not used in browsers it could have been used when loading scripts dynamically. + +## CKEditor 4.5.9 + +Fixed Issues: + +* [#10685](http://dev.ckeditor.com/ticket/10685): Fixed: Unreadable toolbar icons after updating to the new editor version. Fixed with [6876179](https://github.com/ckeditor/ckeditor-dev/commit/6876179db4ee97e786b07b8fd72e6b4120732185) in [ckeditor-dev](https://github.com/ckeditor/ckeditor-dev) and [6c9189f4](https://github.com/ckeditor/ckeditor-presets/commit/6c9189f46392d2c126854fe8889b820b8c76d291) in [ckeditor-presets](https://github.com/ckeditor/ckeditor-presets). +* [#14573](https://dev.ckeditor.com/ticket/14573): Fixed: Missing [Widget](http://ckeditor.com/addon/widget) drag handler CSS when there are multiple editor instances. +* [#14620](https://dev.ckeditor.com/ticket/14620): Fixed: Setting both the `min-height` style for the `` element and the `height` style for the `` element breaks the [Auto Grow](http://ckeditor.com/addon/autogrow) plugin. +* [#14538](http://dev.ckeditor.com/ticket/14538): Fixed: Keyboard focus goes into an embedded `