Wang Zhi

Results 25 comments of Wang Zhi

It's essential to library build.

Could colors of tokens be represented as CSS classes, so applying different colors can be achieved by applying different CSS rules?

这段感觉不应该加,这个库应该不支持加密等其他方式,因此完整取 uint8 作为 tagType 进行判断才比较完整。

It's a structural issue rather than a functional issue. In my opinnion, link tools are attachments to links so they should be subject to links instead of papers. Therefore, I...

This polyfill works. However, there's another issue. If I put link tools in links' constructor, the link tools are always shown at the first time. I further found the following...

Extending the `ToolsView` can get around this issue but it's a bit ugly... ```js class MyToolsView extends joint.dia.ToolsView { get paper() { return this.relatedView.paper; } blurTool(...args) { if (!this.isRendered) {...

According to [how mixin works](https://vuejs.org/v2/guide/mixins.html), it should work as @hanucito said.

By not changing the implementation of vue-i18n, adding the following code could work but i18n resources in mixins should be specified via `__i18n` array. ```js Vue.config.optionMergeStrategies.i18n = function (parentVal, childVal)...

I think adding a flag to enable mixin merging is a solution. Is there any plans for this feature? @kazupon