New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add image type #26
Add image type #26
Conversation
SPR-322, GitHub Issue #13
Gallery / Lightbox:
|
* @return bool true if $mode could be satisfied | ||
*/ | ||
public function renderValue($value, \Doku_Renderer $R, $mode) { | ||
if (!empty($value)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we do not render empty values? We should set up some rules on what types do not need to check themselves (like validate() is never called for blank fields).
if ($mode == 'xhtml') { | ||
$renderer->doc .= '<div class="table structaggegation">'; | ||
$renderer->doc .= "<div class=\"table structaggregation hash:$hash\">"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if this is a valid class name. Why not data-hash=$hash
?
* master: use different branch now that the event has been merged default to translated column labels in table aggregation Show struct differences in diff view. SPR-31 closes #4 remove empty values withing multivals fix entry tests edit form styling SPR-320 added JavaScript for adding new inputs to multi edit fields
* renamed from Img to Image * added height and width configuration * fixed the handling for multi edit fields
ToDo:
This pull request is requires the changes of dokuwiki/dokuwiki#1479. It also makes use of the changes of dokuwiki/dokuwiki#1472.
When merged, this pull request closes #13.