PKP Bugzilla – Bug 8622
Custom id in custom block plugin
Last modified: 2014-03-19 12:42:08 PDT
If you are using more than one block only, every custom block has an id="custom" that give an HTML error.
Is it possibile to change id to classes or (maybe better) use the name of the blok to generate an id like id="custom blockname"?
Andrea, the current codebase doesn't have an ID clash -- I suspect you're using something from before this change was committed...
However, if you're looking to style blocks specifically, then this change won't provide a unique CSS selector. In that case we should probably add the block ID (a numeric value) as a suffix to an ID. Would that suit you?