Skip to content

[Bug] I've found quite a few bugs in Univer Slides, and I hope they can be fixed. #6349

Description

@SoundShar

在您提交此问题之前,您是否检查了以下内容?

  • 这真的是个问题吗?
  • 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。

受影响的包和版本

0.13.0

复现链接

<script lang="ts"> import { Component, Vue } from "vue-property-decorator"; import { LocaleType, mergeLocales, Univer, UniverInstanceType, } from "@univerjs/core"; import DesignZhCN from "@univerjs/design/locale/zh-CN"; import { UniverDocsPlugin } from "@univerjs/docs"; import { UniverDocsUIPlugin } from "@univerjs/docs-ui"; import DocsUIZhCN from "@univerjs/docs-ui/locale/zh-CN"; import { UniverDrawingPlugin } from "@univerjs/drawing"; import { UniverFormulaEnginePlugin } from "@univerjs/engine-formula"; import { UniverRenderEnginePlugin } from "@univerjs/engine-render"; import { UniverSlidesPlugin } from "@univerjs/slides"; import { UniverSlidesUIPlugin } from "@univerjs/slides-ui"; import SlidesUIZhCN from "@univerjs/slides-ui/locale/zh-CN"; import { UniverUIPlugin } from "@univerjs/ui"; import UIZhCN from "@univerjs/ui/locale/zh-CN"; import { SLIDE_DATA } from "../slides-data"; import DrawingUIZhCN from "../locales/drawing-ui-zhCN"; import { UniverDrawingUIPlugin } from "@univerjs/drawing-ui"; @component({ name: "UniverSlides" }) export default class UniverSlides extends Vue { private univerInstance: Univer | null = null; mounted() { const univer = new Univer({ locale: LocaleType.ZH_CN, locales: { [LocaleType.ZH_CN]: mergeLocales( DesignZhCN, UIZhCN, DocsUIZhCN, SlidesUIZhCN, DrawingUIZhCN ), }, }); // Drawing must be registered before Render univer.registerPlugin(UniverDrawingPlugin); univer.registerPlugin(UniverRenderEnginePlugin); univer.registerPlugin(UniverFormulaEnginePlugin); univer.registerPlugin(UniverUIPlugin, { container: this.$refs.container as HTMLElement, }); univer.registerPlugin(UniverDocsPlugin); univer.registerPlugin(UniverDocsUIPlugin); univer.registerPlugin(UniverDrawingUIPlugin); univer.registerPlugin(UniverSlidesPlugin); univer.registerPlugin(UniverSlidesUIPlugin); univer.createUnit(UniverInstanceType.UNIVER_SLIDE, SLIDE_DATA); this.univerInstance = univer; } beforeDestroy() { if (this.univerInstance) { this.univerInstance.dispose(); } this.univerInstance = null; } } </script> <style scoped> .univer-container { width: 100%; height: 100%; } </style>

预期行为

  1. Rotation angle and click position are normal.

  2. Double-clicking the text allows for editing.

  3. The selection effect of the first slideshow is normal.

  4. The image panel contains Chinese translations.

实际行为

Image 1. Rotation angle is unclickable; position is offset.
  1. Double-clicking makes the text disappear.

  2. The selected effect of the first slideshow is not fully displayed.

  3. The Chinese translation of the image panel is missing.

运行环境

Chrome

系统信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions