Comments (2)
I think I found the bug. After my changes it's finally working. I also made small change in css, because when I for example have some bigger image in issue description, after switching to preview in dynamic edit modal position of this modal was bad (toolbar wasn't visible).
@Ilogeek can you check this and add similar fix in next release?
--- a/assets/javascripts/issue_dynamic_edit.js
+++ b/assets/javascripts/issue_dynamic_edit.js
@@ -151,7 +151,7 @@ var cloneEditForm = function(){
cfg.height = 100;
CKEDITOR.replace("issue_description_dynamic", cfg)
}else if (typeof(jsToolBar) === typeof(Function)) {
- var wikiToolbar = new jsToolBar(document.getElementById('issue_description_dynamic')); wikiToolbar.draw();
+ var wikiToolbar = new jsToolBar(document.getElementById('issue_description_dynamic')); wikiToolbar.setPreviewUrl('/preview/text'); wikiToolbar.draw();
}
}
--- a/assets/stylesheets/issue_dynamic_edit.css
+++ b/assets/stylesheets/issue_dynamic_edit.css
@@ -56,7 +56,8 @@ body.controller-issues.action-show .dynamicEditField {
opacity: 0;
transition: opacity .3s ease-in;
/* left:0; correct position on top of icon */
- bottom: 100%;
+ /*bottom: 100%;*/
+ top: 10%;
margin-bottom: 5px;
box-sizing: border-box;
padding: 10px;
from redmine_issue_dynamic_edit.
Hello @pr-dtakac
Thank you for your feedback and investigation
This issue may have the same problem : #100 and my last commit may have solved it
Don't hesitate to come back to me if you have any difficulty
If you find the plugin helpful, take a minute to star it on Github and rate it 5 stars on http://www.redmine.org/plugins/redmine_issue_dynamic_edit 👍
from redmine_issue_dynamic_edit.
Related Issues (20)
- Decription field problem when selected 'Preview' HOT 2
- Error : "no url" alert on sub issues HOT 1
- Copy paste image in visual editor doesn't work - no attachment saved.
- console.warn('Issue while trying to get version (avoiding conflict)'); HOT 1
- Basic auth request (401) when _CONF_CHECK_ISSUE_UPDATE_CONFLICT is true HOT 11
- the lable for custom field hidden HOT 2
- A pop-up appears but cannot be edited. HOT 5
- issue list HOT 1
- the value does not change, you have to update to see the change
- markdown menu disappears after dynamic field edit
- Automatic authorization in the API HOT 4
- Web auth keeps popping up in issue page HOT 2
- Can't change status in the issue main page. We need to visit the Edit page to change status. HOT 1
- Does no update 403 HOT 6
- The plugin does not work - Redmine 5.1.0.stable HOT 4
- The plugin creates a lot of problems on the front end.
- The plugin modifies the AJAX requests outside the ones it is handling by itself HOT 2
- Can the version number be increased? HOT 1
- The plugin modifies the behavior of dynamic (sub)forms
- Can't change issue title from 0.9.1 to 0.9.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_issue_dynamic_edit.