Skip to content

Commit 8b8096d

Browse files
committed
Fixed: Helper function to maximize editor item not working in IE
1 parent af796ca commit 8b8096d

9 files changed

Lines changed: 440 additions & 427 deletions

.gitignore

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
/source/markdown-sample-text-2.md
2-
/source/markdown-sample-text-1.md
3-
/test.html
4-
/test.css
5-
/test.js
1+
source/markdown-sample-text-2.md
2+
source/markdown-sample-text-1.md
3+
test.html
4+
test.css
5+
test.js
66
.DS_Store
77
.idea
88
README-demo-app.md
99
README-project-page.dw
1010

11+
12+
source/markdown-sample-text-2.md

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ Please use for all comments and discussions the
5959
[issues functionality on GitHub][5].
6060

6161

62+
### 1.1.1 (2016-02-15)
63+
64+
* Fixed: Helper function to maximize editor item not working in IE
65+
66+
6267
### 1.1.0 (2016-02-14)
6368

6469
* Support for the following Markdown Extra extensions: tables, fenced code blocks, definition lists, footnotes, special attributes, SmartyPants, newlines and strikethrough à la GitHub

apexplugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "Markdown For APEX",
3-
"version" : "1.1.0",
3+
"version" : "1.1.1",
44
"description" : "Turns text areas into Markdown editors, converts text into HTML",
55
"keywords" : ["Markdown", "JavaScript", "editor", "HTML renderer"],
66
"homepage" : "https://gobrechts.net/wiki/projects/markdown-apex-plugin",

dynamic_action_plugin_net_gobrechts_markdown_1.1.0.sql renamed to dynamic_action_plugin_net_gobrechts_markdown_1.1.1.sql

Lines changed: 187 additions & 186 deletions
Large diffs are not rendered by default.

markdown-apex-plugin-demo-app.sql

Lines changed: 235 additions & 230 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4986,7 +4986,7 @@ else
49864986

49874987
// global markdown object
49884988
var markdown = {};
4989-
markdown.pluginVersion = '1.1.0';
4989+
markdown.pluginVersion = '1.1.1';
49904990
markdown.options = {};
49914991
markdown.substitutions = {};
49924992
markdown.statistics = {};
@@ -5098,7 +5098,7 @@ markdown.maximizeItem = function (itemType, selector, regionIsNthParent, offsetB
50985098
// jQuery eq function start count with 0, we want start count with 1
50995099
var region = item.parents().eq(regionIsNthParent -1);
51005100
var maximizeEditor = function() {
5101-
item.width( region.width() - 2 * parseInt( region.css('padding') ))
5101+
item.width( region.width() - parseInt(region.css('padding-left')) - parseInt(region.css('padding-right')) )
51025102
.height( $(window).height() - item.offset().top - offsetBottom );
51035103
};
51045104
var maximizePreview = function() {
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ BEGIN
77
apex_plugin_util.debug_dynamic_action( p_plugin => p_plugin, p_dynamic_action => p_dynamic_action );
88
END IF;
99

10-
apex_css.add_file( p_name => 'markdown-', p_directory => p_plugin.file_prefix, p_version => '1.1.0' );
10+
apex_css.add_file( p_name => 'markdown-', p_directory => p_plugin.file_prefix, p_version => '1.1.1' );
1111

1212
apex_javascript.add_library( p_name => 'markdown-'
1313
, p_directory => p_plugin.file_prefix
14-
, p_version => '1.1.0'
14+
, p_version => '1.1.1'
1515
, p_check_to_add_minified => TRUE );
1616

1717
apex_javascript.add_library( p_name => 'highlight.pack.common.'

0 commit comments

Comments
 (0)