Coder Social home page Coder Social logo

评论中链接的打开方式 about waline HOT 5 CLOSED

walinejs avatar walinejs commented on May 14, 2024
评论中链接的打开方式

from waline.

Comments (5)

lizheming avatar lizheming commented on May 14, 2024 1

看了下目前在前端加负担比较轻一点,@waline/client 更新到了 0.5.2 了,可以试试。

from waline.

lizheming avatar lizheming commented on May 14, 2024

好的,之后加一下,我看看是加前端合适还是加数据转换合适。

from waline.

eallion avatar eallion commented on May 14, 2024

@lizheming 建议内链在本窗口打开,还有@回复的链接不处理,或链接到定位锚点。

from waline.

lizheming avatar lizheming commented on May 14, 2024

可以,我处理一下。

from waline.

lizheming avatar lizheming commented on May 14, 2024

@waline/[email protected] 增加了 @ 回复和内链的过滤处理 13c88ed

不过需要注意的是是否是内链的判断规则是是否是相对路径 URL,带有本站 Host 的绝对 URL 还是会被认为是外链,这里稍微注意下。

from waline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.