email-builder-js icon indicating copy to clipboard operation
email-builder-js copied to clipboard

New lines aren't being applied

Open nicktc opened this issue 1 year ago • 4 comments

When using a text block it would be helpful if it supports new lines. Whenever I add a new line in the text, it's not applied in the design. Not sure if this is a conscious decision? Because of the not supporting of new lines, most blocks have to be converted to a HTML block, which feels overkill.

Scherm­afbeelding 2024-04-14 om 09 58 05 Scherm­afbeelding 2024-04-14 om 09 58 09

nicktc avatar Apr 14 '24 08:04 nicktc

Bot detected the issue body's language is not English, translate it automatically.


Title: add_deps cannot be automatically linked

Issues-translate-bot avatar May 03 '24 04:05 Issues-translate-bot

贴下完整 -vD logs,并且提供一个可复现的 example project

waruqi avatar May 04 '24 16:05 waruqi

Bot detected the issue body's language is not English, translate it automatically.


Post the complete -vD logs and provide a reproducible example project

Issues-translate-bot avatar May 04 '24 16:05 Issues-translate-bot

他说的可能是这种情况:

-- xmake.lua
target('foo', function()
  set_kind('object')
  add_files('foo.c')

  before_build(function(T)
    io.writefile(
      'foo.c',
      [[
void foo() {}
]]
    )
  end)
end)

target('shared', function()
  set_kind('shared')

  add_deps('foo')
end)

target('add_deps', function()
  set_kind('binary')
  add_files('main.c')

  add_deps('shared')

  before_build(function(T)
    io.writefile(
      'main.c',
      [[
extern void foo();

int main() {
  foo();
}
]]
    )
  end)
end)
[ 40%]: cache compiling.release foo.c
/usr/bin/gcc -c -m64 -o build/.objs/foo/linux/x86_64/release/foo.c.o foo.c
[ 50%]: cache compiling.release main.c
/usr/bin/gcc -c -m64 -o build/.objs/add_deps/linux/x86_64/release/main.c.o main.c
[ 70%]: linking.release libshared.so
/usr/bin/g++ -o build/linux/x86_64/release/libshared.so build/.objs/foo/linux/x86_64/release/foo.c.o -shared -m64 -fPIC
[ 90%]: linking.release add_deps
/usr/bin/g++ -o build/linux/x86_64/release/add_deps build/.objs/add_deps/linux/x86_64/release/main.c.o -m64 -Wl,-rpath=$ORIGIN
/usr/bin/ld: build/.objs/add_deps/linux/x86_64/release/main.c.o: in function `main':
main.c:(.text+0xa): undefined reference to `foo'
collect2: error: ld returned 1 exit status
error: execv(/usr/bin/g++ -o build/linux/x86_64/release/add_deps build/.objs/add_deps/linux/x86_64/release/main.c.o -m64 -Wl,-rpath=$ORIGIN) failed(1)

链接 add_deps 时没有 -lshared flag.

RunThem avatar Aug 22 '24 07:08 RunThem